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

mgRemoveMemberFromMatchGroup

mgRemoveMemberFromMatchGroup(
d_dbObjectId
)
=> t / nil

Description

Removes the specified database object from its associated matchGroup.

Arguments

d_dbObjectId

The database ID of the object to be removed from its matchGroup.

Value Returned

t

The database object was removed from its matchGroup.

nil

The command was unsuccessful.

Example

Finds the trunk that is present in the second channel of a Modgen and removes it from all matchGroups of which it is a part:

when(window = hiGetCurrentWindow()
    when(cellView = geGetEditCellView(window)
     when(mgId=car(exists(fg cellView~>figGroups fg~>type=="modgen"))
when(hTrunks = mgGetChannelTrunks(mgId 2 t)
if(mgRemoveMemberFromMatchGroup(car(hTrunks)) then
println("Object was removed from a Matched Group")
else
println("Object was not removed from or was not part of a matchGroup")
)))))))

Return to top
 ⠀
X