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

mgSetStrapHasDirection

mgSetStrapHasDirection(
d_strapId
g_hasDirection
)

Description

Specifies whether the given strap can have a direction.

Arguments

d_strapId

Database ID of the strap topology.

g_hasDirection

Boolean specifying whether the strap has a direction.

Value Returned

t

The specified value was set.

nil

The command was unsuccessful.

Example

Specifies that the strap can have a direction.

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

Return to top
 ⠀
X