Command Panels

The following methods are used to get or set which command panel is active:

setCommandPanelTaskMode mode:<panel_name>

Sets the specified command panel as active. The valid panel_name values are:

#create -- Create Panel

#modify -- Modify Panel

#hierarchy -- Hierarchy Panel

#motion -- Motion Panel

#display -- Display Panel

#utility -- Utility Panel

getCommandPanelTaskMode()

Returns the current command panel as a name value. The name values correspond to the panel_name values for SetCommandPanelTaskMode().

The following 3ds max system global variables are associated with the command panel:

cui.commandPanelOpen

Lets you get and set whether the command panel is displayed. A Boolean value - true if the command panel is displayed, false if not displayed.

Specific methods and 3ds max global variables are associated with the Create and Modify panels. These methods and global variables are described in the following topics: