property id

(r/w) string id;

Typ

Zugriff

This property is used to get and set the id for a command.
function onSample()
{
    var commandGroup = scene.getCommandGroupById("myCmdGrpId");
    if (commandGroup)
    {
        var command = commandGroup.getCommandById("myCmdId");
        if (command)
        {
            command.id = "myNewCmdId";
        }
    }
}