pymel.core.effects.loadFluid¶
- loadFluid(*args, **kwargs)¶
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.
Flags:
Long Name / Short Name Argument Types Properties currentTime / ct bool This flag is now obsolete. Move the cache clip in the Trax editor to view different frames of the playback cache. frame / f float This flag is now obsolete. Move the cache clip in the Trax editor to view different frames of the playback cache. initialConditions / ic bool load initial conditions cache Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.loadFluid
Example:
import pymel.core as pm # Load the initial state cache into the fluid pm.loadFluid( ic=True )