pymel.core.general.pause

pause(*args, **kwargs)

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

Flags:

Long Name / Short Name Argument Types Properties
seconds / sec int ../../../_images/create.gif
  Pause for the specified number of seconds. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.pause

Example:

import pymel.core as pm

pm.pause( sec=10 )