Your Ad Here

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

Synopsis

dynPref [-autoCreate] [-echoCollision] [-runupFrom] [-runupToCurrentTime] [-saveOnQuit] [-saveRuntimeState]

dynPref is undoable, queryable, and editable.

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).

Flags

autoCreate, echoCollision, runupFrom, runupToCurrentTime, saveOnQuit, saveRuntimeState
Long name (short name) [argument types] Properties
-autoCreate(-ac)
If on, autoCreate rigid bodies.
-runupToCurrentTime(-rt)
If on, run up the scene to current time
-runupFrom(-rf)
If 1, run up from previous time; if 2, run up from start time
-saveOnQuit(-sq)
If 1, save the current values of preferences to userPrefs file.
-saveRuntimeState(-sr)
If on, runtime state as well as initial state of all particle objects will be saved to file. If off, only initial state will be saved.
-echoCollision(-ec)
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 appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Return value

None

MEL examples

// Sets autoCreate rigid bodies to "on"
dynPref -autoCreate 1;

  

Return to Autodesk Index


Your Ad Here