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

mgSetStrapLongOffset2

mgSetStrapLongOffset2(
d_strapId
n_longOffset2
)=> t / nil

Description

Sets the long offset attribute for the top and right edge of the specified strap. This value determines the distance that the strap will extend from the strap object.

Arguments

d_strapId

Database ID of the strap topology.

n_longOffset2

Long offset value of the strap in user units.

Value Returned

t

The specified value was set.

nil

The command was unsuccessful.

Example

Specifies the long offset value for a strap for the top and right edges.

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

Return to top
 ⠀
X