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

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

d_strapId

Database ID of the strap topology for which the direction needs to be retrieved.

Value Returned

d_dir

Direction of the strap with the specified ID.

nil

The command was unsuccessful.

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
 ⠀
X