Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

gpeAddTrunkChains

gpeAddTrunkChains(
u_sandbox
l_trunkChains
[ ?verbose { t | nil } ]
)
=> t / nil

Description

Adds the specified trunk chain values to the topo portion of the Modgen sandbox object.

Arguments

u_sandbox

Specifies a Modgen sandbox object.

l_trunkChains

Lists the Modgen sandbox trunkChains to be added.

?verbose { t | nil }

Controls the display of warning messages.

Value Returned

t

Indicates that the trunk chains were added to the Modgen sandbox.

nil

Indicates that the command was unsuccessful.

Example

In the following example, chain1 and chain2 are trunk chains that store the return values of two separate calls to gpeCreateTrunkChain. These values are passed as parameters in gpeAddTrunkChains.

chain1 = gpeCreateTrunkChain(?trunks trunks1 ?anchorIndex 0 ?trunkDirection "horizontal" ?offsetDirection "positive" ?anchorPoint "topRight" ?anchorReference "Metal1")
chain2 = gpeCreateTrunkChain(?trunks trunks2 ?anchorIndex 1 ?trunkDirection "horizontal" ?offsetDirection "positive" ?anchorPoint "topRight" ?anchorReference "Metal1")
sandbox=gpeEditSandbox(leGetEditFigGroup())
gpeAddTrunkChains(sandbox list(chain1 chain2))

Return to top
 ⠀
X