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
|
Database ID of the topology object or strap to which the shape is to be added. |
|
Value Returned
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