mgRemoveMemberFromMatchGroup
mgRemoveMemberFromMatchGroup(d_dbObjectId) =>t/nil
Description
Removes the specified database object from its associated matchGroup.
Arguments
|
The database ID of the object to be removed from its matchGroup. |
Value Returned
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