This command sets/resets a wait cursor for the entire Maya application. This works as a stack, such that for each waitCursor -state oncommand executed there should be a matching waitCursor -state offcommand pending. Warning:If a script fails that has turned the wait cursor on, the wait cursor may be left on. You need to turn it off manually from the command line by entering and executing the command ‘waitCursor -state off’.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
state (st) | bool | ||
|
Derived from mel command maya.cmds.waitCursor
Example:
import pymel.core as pm
pm.waitCursor( state=True )
pm.waitCursor( state=False )