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

gpeRemoveInstance

gpeRemoveInstance(
d_modgenID
l_instances
)
=> t / nil

Description

Removes the given instances from the specified Modgen figGroup.

Arguments

d_modgenID

Modgen figGroup ID from which instances must be removed.

l_instances

List of schematic or layout instances to be removed from the Modgen.

Value Returned

t

The instances were removed from the Modgen.

nil

The command was unsuccessful.

Example

The following procedure first identifies a figGroup in the cellview cv and assigns it to the specified Modgen modgenid. Instances in the cellview are identified and assigned to inst1 and inst2. These two instances are then removed from modgenid.

cv = geGetEditCellView()
modgenid = leGetEditFigGroup()
inst1 = dbFindAnyInstByName(cv "M1")
inst2 = dbFindAnyInstByName(cv "M2")
gpeRemoveInstance(modgenid list(inst1 inst2))

Return to top
 ⠀
X