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.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
origin (o) | bool | ||
|
|||
view (v) | bool | ||
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 commandFlag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.toggleAxis
Example:
import pymel.core as pm
import maya.cmds as cmds
# Turns origin axis on
pm.toggleAxis( o=True )
# Turns origin axis off.
pm.toggleAxis( o=False )
# Returns true if the axis at the origin is on.
pm.toggleAxis( q=True, o=True )
# Result: False #
# Toggles the display of the axis
pm.toggleAxis()