mgGetMatchGroupMembers
mgGetMatchGroupMembers(d_dbObjectId) =>t/nil
Description
Displays a list of matchGroup members that belong to the same matchGroup as the specified database object d_dbObjectId.
Arguments
|
The database ID of the object for which the associated matchGroup members need to be retrieved. |
Value Returned
Example
Prints the number of members that are in the matchGroup associated with the first horizontal trunk in channel 2 of the Modgen:
when(window = hiGetCurrentWindow() when(cellView = geGetEditCellView(window) when(mgId = car(exists(fg cellView~>figGroups fg~>type=="modgen"))
when(hTrunks = mgGetChannelTrunks(mgId 2 t)
mems = mgGetMatchGroupMembers(car(hTrunks)
if(mems then
printf("Object is part of a Matched Group that has %d members" length(mems))
else
println("Object is not part of a Matched Group")
)
)
)
)
)
)
Return to top