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

mgGetStrapLongOffset1

mgGetStrapLongOffset1(
d_strapId
)
=> n_longOffset1 / nil

Description

Returns the long offset attribute of the specified strap for the bottom or left 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_longOffset1

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 bottom or left edge.

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

Return to top
 ⠀
X