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 ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
This flag is now obsolete. Move the cache clip in the Trax editor to view different frames of the playback cache.
frame (f) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

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 ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
load initial conditions cache

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 )

Previous topic

pymel.core.effects.gravity

Next topic

pymel.core.effects.nBase

Core

Core Modules

Other Modules

This Page