gpeGetTwigEntries
gpeGetTwigEntries(
u_sandbox
[ ?trunks l_trunks ]
[ ?verbose { t | nil } ]
)
=> l_Twigs / nil
Description
Returns all twigs on the specified trunks from the specified sandbox.
Arguments
|
u_sandbox
|
Specifies a Modgen sandbox object.
|
|
?trunks l_trunks
|
Lists the trunks from which twigs must be retrieved.
|
|
?verbose { t | nil }
|
|
|
Controls the display of warning messages.
|
Value Returned
|
l_Twigs
|
Returns a list of Modgen sandbox twigs. Each twig is represented as a disembodied property list with the following optional parameters: netName, deviceNames, instTermNames, directions, constraints.
Example:
(nil instTermNames list("S" "D") deviceNames list("NM1.1" "NM1.2") constraints list(list("minNumCuts" "Poly" 2))
|
|
nil
|
The command was unsuccessful.
|
Example
In the following example, values for sandbox and chain are first determined; these values are then passed as arguments in gpeGetTwigEntries:
sandbox = gpeEditSandbox(leGetEditFigGroup())
chain = car(sandbox->topo->trunkChains)
twigs = gpeGetTwigEntries(sandbox chain->trunks)
Return to top