property commandCount

(r/o) int32 commandCount;

Typ

Zugriff

This property returns back the total number of command object contained in this commandGroup.
function onSample()
{
    var commandGroup = scene.getCommandGroupById("myCmdGrp");
    if (commandGroup)
    {
        shell.print("There are " + commandGroup.commandCount + " command in this commandGroup.");
    }
}