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

txMakeFigSet

txMakeFigSet(
d_cellView
d_figSetGroup
)
=> T_figSet / nil

Description

Creates a FigSet from the given FigSetGroup in the specified cellview.

The function can be used to resurrect a FigSet that had been saved to a FigSetGroup earlier. The name and contents of the FigSet will be extracted from the specified FigSetGroup. If a FigSet with the specified name already exists, its contents will be replaced.

Arguments

d_cellView

ID of the cellview.

d_figSetGroup

ID of the FigSetGroup.

Value Returned

T_figSet

ID of the created FigSet.

nil

Returned in case of failure.

Examples

Creates a FigSet fs from the FigSetGroup group0 in the cellview cv.

txAppendObjectToFigSet(figset12 txCreateFigSet(cv "figset1"))
> t
txAppendObjectToFigSet(figset12 txCreateFigSet(cv "figset2"))
> t
group0 = dbMakeFigSetGroup(cv figset12)
> db:0x27a9ec1a
txDeleteFigSet(figset12)
> t
txFindFigSet(cv "figset12")
> nil
fs = txMakeFigSet(cv group0)
> tx@0x2af32df0
txGetFigSetData(fs 0)~>name
> "figset1"
txGetFigSetData(fs 1)~>name
> "figset2"

Related Topics

FigSet Functions


Return to top
 ⠀
X