A command to set builtin fluid attributes such as Density, Velocity, etc for all cells in the grid from the initial state cache In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
currentTime (ct) | bool | ||
|
|||
frame (f) | float | ||
This flag is now obsolete. Move the cache clip in the Trax editor to view different frames of the playback cache.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
initialConditions (ic) | bool | ||
|
Derived from mel command maya.cmds.loadFluid
Example:
import pymel.core as pm
import maya.cmds as cmds
# Load the initial state cache into the fluid
pm.loadFluid( ic=True )