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

mgCreateOrEdit

mgCreateOrEdit(
d_cellViewId 
d_constraintId
[ d_figGroupId ]
)
=> t / nil

Description

Opens the Modgen editor to create a new Modgen or to edit parameters of an existing Modgen. After making edits, the Modgen constraint is updated. If the source is a layout cellview, then the Modgen layout, the associated geometry, and the associated database objects are updated.

Arguments

d_cellViewId

Database ID of the cellview. If set to nil, then the current cellview is used.

d_constraintId

Database ID of the constraint.

d_figGroupId

Database ID of the Modgen figGroup. If both, the constraint and figGroup are set to nil, then the current selection is used to find a Modgen to edit or instances to create a Modgen with.

Value Returned

t

The Modgen editor is displayed.

nil

The Modgen editor could not be displayed.

Example

To create a new Modgen constraint with the currently selected schematic instances as members:

mgCreateOrEdit(schemCV nil)

To edit an existing Modgen in the layout cellview and update the constraint and the figGroup:

mgCreateOrEdit(layCV modgenConstraint)

Return to top
 ⠀
X