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

txPrependObjectToFigSet

txPrependObjectToFigSet(
T_figSet
g_figObject
)
=> t / nil

Description

Inserts an object in the beginning of the specified FigSet. The object may be a figure or a FigSet.

Arguments

T_figSet

ID of the FigSet.

g_figObject

ID of the object.

Value Returned

t

The object was inserted.

nil

Returned in case of failure.

Examples

Inserts the object fs0 in the beginning of the FigSet fs12.

fs12 = txCreateFigSet(cv "fs12")
> tx@0x19d35cf0
txAppendObjectToFigSet(fs12 txCreateFigSet(cv "fs1"))
> t
txPrependObjectToFigSet(fs12 txCreateFigSet(cv "fs0"))
> t
txGetFigSetData(fs12 0)~>name
> "fs0"

Related Topics

FigSet Functions


Return to top
 ⠀
X