This action modifies and queries the current state of autoCreate rigid bodies, run up to current time, and run up from(previous time or start time). In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
autoCreate (ac) | bool | ||
|
|||
echoCollision (ec) | bool | ||
If on, will cause particle systems to echo to the Script Editor the command that they are running for each particle collision event. If off, only the output of the command will be echoed. Flag can have multiple arguments, passed either as a tuple or a list. |
|||
runupFrom (rf) | int | ||
|
|||
runupToCurrentTime (rt) | bool | ||
|
|||
saveOnQuit (sq) | bool | ||
|
|||
saveRuntimeState (sr) | bool | ||
|
Derived from mel command maya.cmds.dynPref
Example:
import pymel.core as pm
# Sets autoCreate rigid bodies to "on"
pm.dynPref( autoCreate=1 )