Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

txCloneFigSet

txCloneFigSet(
T_figSet1
T_figSet2
)
=> t / nil

Description

Makes FigSet1 a clone of FigSet2 by replacing the contents of FigSet1with equivalent entries from FigSet2. It creates references to the objects; it does not make copies of the objects. The name of FigSet1 is preserved.

Arguments

T_figSet1

ID of the target FigSet.

T_figSet2

ID of the source FigSet.

Value Returned

t

The cloning is successful.

nil

Returned in case of failure.

Examples

Makes fs_dest a clone of fs_src.

fs_src = txCreateFigSet(cv "fs_src")
> tx@0x2294f7c0
fs_dest = txCreateFigSet(cv "fs_dest")
> tx@0x2294ff10
txAppendObjectToFigSet(fs_src txCreateFigSet(cv "fs0"))
> t
txCloneFigSet(fs_dest fs_src)
> t
txGetFigSetData(fs_dest 0)~>name
> "fs0"

Related Topics

FigSet Functions


Return to top
 ⠀
X