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|
Turns display of the axis at the bottom left of each view on or off. (Obsolete - refer to the headsUpDisplay command) Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.toggleAxis
import pymel.core as pm # 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()