mgGetIsLocalTrunk
mgGetIsLocalTrunk(d_trunkId) =>t/nil
Description
Checks whether the specified trunk is 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
Value Returned
Example
Creates a topology trunk and checks whether the trunk is local:
cv = geGetEditCellView() net = dbFindNetByName(cv, "3") myTopo = dbCreateTopology("myTopo" net) myTrunk = dbCreateTrunk("myTrunk" myTopo "horizontal") mgSetIsLocalTrunk(myTrunk t) when(mgGetIsLocalTrunk(myTrunk) printf("Topology trunk is local.\n")
)
Return to top