Go to: Synopsis. Return value. Flags. Python examples.

Synopsis

pause([seconds=int])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

pause is undoable, NOT queryable, and NOT editable.

Pause for a specified number of seconds for canned demos or for test scripts to allow user to view results.

Return value

None

Flags

seconds
Long name (short name) Argument types Properties
seconds(sec) int create
Pause for the specified number of seconds.

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 have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

cmds.pause( sec=10 )