property commandGroups

(r/o) object commandGroups;

Typ

Zugriff

This property returns a basics::array containing all the commandGroup objects in the scene. Property returns null if no command group object exists
function onSample()
{
    var cmdGrpArray = scene.commandGroups;
    for (var x = 0; x < cmdGrpArray.count; ++x)
    {
        var cmdGrp = cmdGrpArray.getValue(x);
        if (cmdGrp)
        {
            shell.print("Command group id = " + cmdGrp.id);
        }
    }
}