runup plays the scene through a frame of frames, forcing dynamic objects to evaluate as it does so. If no max frame is specified, runup runs up to the current time.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
cache (cch) | bool | ||
|
|||
fromPreviousFrame (fpf) | bool | ||
|
|||
fromStartFrame (fsf) | bool | ||
|
|||
maxFrame (mxf) | time | ||
|
|||
state (st) | bool | ||
|
Derived from mel command maya.cmds.runup
Example:
import pymel.core as pm
pm.runup( mxf=10, cache=True )
# Starts at the minimum start frame of all dynamic objects
# and plays through to frame 10. This guarantees that the system
# is in the same state it would be as if you had rewound and played
# forward from frame 0. The state of the dynamic object(s) will be
# cached after the runup.