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

mgGetTopoShapes

mgGetTopoShapes(
d_topoId
)
=> l_shapeIds / nil

Description

Retrieves all user-generated shapes from the specified topology group object, usually a topological strap.

Arguments

d_topoId

Database ID of the topological group or strap.

Value Returned

l_shapeIds

List of user-generated shapes present in the specified topology group object.

nil

The command was unsuccessful.

Example

Returns all user-generated shapes from the specified topology group object.

cv = geGetEditRep()
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))
mgAddShapeToTopo(strap, rect)
mgGetTopoShapes(strap)

Return to top
 ⠀
X