Go to documentation repository
The GetObjectChildIds method returns IDs of child objects of specified type created under given object.
Method call syntax
function GetObjectParentId(parent : String, id : String, objtype : String) : String[]
Method arguments:
Example. Arm all cameras on WS2 computer on Macro 1.
if (Event.SourceType == "MACRO" && Event.Action == "RUN" && Event.SourceId == "1")
{
var children = GetObjectChildIds("SLAVE","DESKTOP-UBOS6BK","CAM");
ch=children.split(",");
for (i=0;i<ch.length; i++ )
{
DoReactStr("CAM",ch[i],"ARM","");
}
}