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

mgGetStrapHasOffset

mgGetStrapHasOffset(
d_strapId
)
=> t / nil

Description

Determines whether the specified strap has an associated offset value.

Arguments

d_strapId

Database ID of the strap topology.

Value Returned

t

The strap has an offset value specified.

nil

The strap does not have an offset value.

Example

Determines whether the specified strap has an associated offset value.

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

Return to top
 ⠀
X