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

mgGetStrapLongOffset2

mgGetStrapLongOffset2(
d_strapId
)
=> n_longOffset2 / nil

Description

Returns the long offset attribute of the specified strap for the top or right edge. This value determines how far beyond the strap object that the strap can extend.

Arguments

d_strapId

Database ID of the strap topology.

Value Returned

n_longOffset2

The long offset attribute of the specified strap.

nil

The strap does not have an offset value.

Example

Returns the long offset attribute of the top or right edge.

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

Return to top
 ⠀
X