Status Bar Buttons

The following methods are associated with the buttons in 3ds max's Status Bar:

getCrossing()

Returns whether Crossing Selection (true) or Window Selection (false) is set.

getPluginKeysEnabled()

setPluginKeysEnabled <boolean>

Get and set whether Plug-in Keyboard Shortcuts are enabled (true) or disabled (false).

getSnapState()

Returns the Snap toggle state - on (true) or off (false).

getSnapMode()

Returns the current snap type as a string û "ABSOLUTE" or "RELATIVE".

isSelectionFrozen()

Returns true if the node selection is frozen, false if not frozen

freezeSelection()

Freezes the node selection

thawSelection()

Thaws the node selection.

The following 3ds max system global variables are associated with the Status Bar buttons. These global variables are not available in 3ds max.

snapMode.active

Lets you get and set a Boolean value defining the Snap toggle state - on (true) or off (false). This global variable is not available in 3ds max.

snapMode.type

Lets you get and set a Name value defining whether 2D (#2D), 2.5D (#2_5D), or 3D (#3D) is the current snap type. This global variable is not available in 3ds max.