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

mgGetModgenConstraintFromTopology

mgGetModgenConstraintFromTopology(
d_tpObjectId
)
=> d_modgenId / nil

Description

Returns the Modgen constraint ID that is associated with the specified topology object.

Arguments

d_tpObjectId

A topology object ID.

Value Returned

d_modgenId

The database ID of the Modgen constraint object.

nil

The command was unsuccessful.

Example

In this example, topo is a topology pattern ID that has been added to a Modgen using mgAddTopologyToModgen, and cid is the Modgen constraint ID of the Modgen that contains that topology pattern.

cid = mgGetModgenConstraintFromTopology(topo)

Return to top
 ⠀
X