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

mgAddShapeToTopo

mgAddShapeToTopo(
d_topoId
d_figId
)
=> t / nil

Description

Adds a user-generated shape, such as a rectangle, to a topology group, usually a topological strap.

Arguments

d_topoId

Database ID of the topology object or strap to which the shape is to be added.

d_figId

Database ID of the shape to add.

Value Returned

t

The shape was added to the topology group.

nil

The command was unsuccessful.

Example

Adds a rectangle to the specified topological group.

cv = geGetEditCellView()
rect = dbCreateRect(cv "Metal2" list(10:10 12:10.2))
topos = dbGetCellViewTopologies(cv)
inpTopos = car(exists(topo topos dbGetTopologyNet(topo)~>name == "INP"))
strap = car(dbGetTopologyObjects(inpTopos))
mgA
ddShapeToTopo(strap, rect)

Return to top
 ⠀
X