Command Panel


ClearCmdPanel

Clear command panel.

Parameters

No Parameters.

Example

1
2
3
{
    "cmd": "ClearCmdPanel"
}

AddToCmdPanel

Add command to command panel.

Parameters
Name Required Description
cmds Yes Command or command array to be added to panel
execute No If run command after add

Example

1
2
3
4
5
6
7
{
    "cmd": "AddToCmdPanel",
    "cmds":[
        {"cmd":"clearSelection" }
    ],
    "execute":false
}

RemoveFromCmdPanel

Remove command from command panel.

Note

Command name must be identical.

Parameters
Name Required Description
cmds Yes Command or command array to be removed from panel

Example

1
2
3
4
5
6
{
    "cmd": "RemoveFromCmdPanel",
    "cmds":[
        {"cmd":"clearSelection" }
    ]
}