Go to: Synopsis. Return value. Flags. MEL examples.
toggleAxis [-origin boolean] [-view boolean]
toggleAxis is undoable, queryable, and NOT editable.
Toggles the state of the display axis.
Note: the display of the axis in the bottom left corner has
been rendered obsolete by the headsUpDisplay command.
boolean | if in the query mode, otherwise none. |
In query mode, return type is based on queried flag.
origin, view
Long name (short name) |
Argument types |
Properties |
|
-origin(-o)
|
boolean
|
|
|
Turns display of the axis at the origin of the ground plane
on or off.
|
|
-view(-v)
|
boolean
|
|
|
Turns display of the axis at the bottom left of each view
on or off. (Obsolete - refer to the headsUpDisplay command)
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// Turns origin axis on.
toggleAxis -o on;
// Turns origin axis off
toggleAxis -o off;
// Returns true if the axis at the origin is on.
toggleAxis -q -o;
// Toggles the display of the axis
toggleAxis;