mgObjectHasMatchGroup
mgObjectHasMatchGroup(d_dbObjectId) =>t/nil
Description
Checks whether the specified database object is part of a matchGroup.
Arguments
Value Returned
Example
Checks if a the specified trunk is part of any matchGroup:
when(window = hiGetCurrentWindow() when(cellView = geGetEditCellView(window) when(mgId=car(exists(fg cellView~>figGroups fg~>type=="modgen"))
when(hTrunks = mgGetChannelTrunks(mgId 2 t)
if(mgObjectHasMatchGroup(car(hTrunks)) then
println("Object is part of a Matched Group")
else
println("Object is not part of a Matched Group")
)))))))
Return to top