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

txAppendObjectToFigSet

txAppendObjectToFigSet(
T_figSet
g_figObject
)
=> t / nil

Description

Appends an object to the end of the specified FigSet. The object can be a figure or a FigSet.

Arguments

T_figSet

ID of the FigSet.

g_figObject

ID of the appended object.

Value Returned

t

The object was appended.

nil

Returned in case of failure.

Examples

Appends a FigSet object (fs0) and a CDB object (a rectangle) to the FigSet fs12.

fs12 = txCreateFigSet(cv "fs12")
> tx@0x19d35cf0
txAppendObjectToFigSet(fs12 txCreateFigSet(cv "fs0"))
> t
txAppendObjectToFigSet(fs12 dbCreateRect(cv '(0 "drawing") '((0 0) (200 100))))
> t
fs12~>length
> 2

Related Topics

FigSet Functions


Return to top
 ⠀
X