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

mgCreateModgenAsLayout

mgCreateModgenAsLayout(
d_cvId
[ l_InstanceList ]
)
=> figGroupID / nil

Description

Creates a Modgen from the list of specified instances and keeps the relative instance locations inside the Modgen, as similar as possible to the original instances in the layout. If instance list is not specified, the selected instances from the cellview are used.

Arguments

d_cvId

The layout cellView ID where the selected instances are located. If set to nil, then the current cellview is used.

l_InstanceList

List of instances.

Value Returned

figGroupID

The figGroup ID of the Modgen that was created.

nil

A Modgen could not be created.

Examples

Creates a Modgen in the current editing cellview (geGetEditCellView) that includes all instances current selected (geGetSelSet).

mgCreateModgenAsLayout(geGetEditCellView() geGetSelSet())

Return to top
 ⠀
X