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

mgSetStrapHasOffset

mgSetStrapHasOffset(
d_strapId
g_hasOffset
)

Description

Specifies whether the given strap has a valid offset value.

Arguments

d_strapId

Database ID of the strap topology.

g_hasOffset

Boolean specifying whether the strap has an offset.

Value Returned

t

The specified value was set.

nil

The command was unsuccessful.

Example

Specifies that the strap cannot have an offset.

mgId = car(geGetEditCellView()~>figGroups)
topo = car(mgGetTopologyFromModgen(mgId))
strap = car(exists(obj dbGetTopologyObjects(topo)
dbGetTopologyPatternType(obj)=="strap"))
mgSetStrapHasOffset(strap t)
mgSetStrapOffset(strap 0)

Return to top
 ⠀
X