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

mgGetStrapHasDirection

mgGetStrapHasDirection(
d_strapId
) => t / nil

Description

Determines whether the strap direction is set for the specified strap.

Arguments

d_strapId

Database ID of the strap topology.

Value Returned

t

The strap direction is set.

nil

The strap direction is not set.

Example

Determines whether the strap direction is set for the specified strap.

mgId = car(geGetEditCellView()~>figGroups)
topo = car(mgGetTopologyFromModgen(mgId))
strap = car(exists(obj dbGetTopologyObjects(topo) dbGetTopologyPatternType(obj)=="strap"))
when(mgGetStrapHasDirection(strap) 
    println(mgGetStrapDirection(strap))
)

Return to top
 ⠀
X