This property is used to get and set the disable state for a command.
function onSample()
{
var commandGroup = scene.getCommandGroupById("myCmdGrpId");
if (commandGroup)
{
var command = commandGroup.getCommandById("myCmdId");
if (command)
{
// Disable this command.
command.disabled = true;
}
}
}