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

mgSetStrapLongOffset1

mgSetStrapLongOffset1(
d_strapId
n_longOffset1
) => t / nil

Description

Sets the long offset attribute for the bottom and left 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_longOffset1

Long offset value for the specified strap.

Value Returned

t

The specified value was set.

nil

The command was unsuccessful.

Example

Specifies the long offset value for a strap for the bottom and left edges.

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

Return to top
 ⠀
X