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

mgSetStrapDirection

mgSetStrapDirection(
d_strapId
t_direction
)

Description

Sets the strap direction. This value is valid only for straps with a single strap object. For straps with more than one strap objects, the router determines strap direction.

Arguments

d_strapId

Database ID of the strap topology.

t_direction

Strap direction. Valid values are horizontal and vertical.

Value Returned

t

The strap direction was set as specified.

nil

The command was unsuccessful.

Example

Sets the strap direction.

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

Return to top
 ⠀
X