mgSetIsLocalTrunk
mgSetIsLocalTrunk(
d_trunkId
g_isLocal
)
=> t / nil
Description
Sets the specified trunk as local. Trunks inside a Modgen are called local trunks. These trunks can be connected only within the same Modgen, and not from outside the Modgen.
Arguments
|
Boolean specifying whether the trunk is local. |
Value Returned
|
The specified topological trunk was set as local or not local depending on whether g_isLocal is set to |
|
Example
Creates a topology trunk and sets it as local:
cv = geGetEditCellView() net = dbFindNetByName(cv, "3") myTopo = dbCreateTopology("myTopo" net) myTrunk = dbCreateTrunk("myTrunk" myTopo "horizontal") when(mgGetIsLocalTrunk(myTrunk) == nil mgSetIsLocalTrunk(myTrunk t) )
Return to top