mgGetStrapDirection
mgGetStrapDirection(d_strapId)=>d_dir/nil
Description
Returns the direction of the specified strap. This function is valid if the strap has a single strap object. Otherwise, the router determines the strap direction.
Arguments
|
Database ID of the strap topology for which the direction needs to be retrieved. |
Value Returned
Example
Returns the direction of the specified strap.
mgId = car(geGetEditCellView()~>figGroups)
topo = car(mgGetTopologyFromModgen(mgId))
strap = car(exists(obj dbGetTopologyObjects(topo)
dbGetTopologyPatternType(obj)=="strap"))
println(mgGetStrapDirection(strap))
Return to top