Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
saveFluid [-currentTime int] [-endTime int] [-startTime int]
saveFluid is undoable, queryable, and editable.
A command to save the current state of the fluid to the initial state cache. The grids to be saved are determined by the cache attributes: cacheDensity, cacheVelocity, etc. These attributes are normally set from the options on Set Initial State. The cache must be set up before invoking this command.None
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-currentTime(-ct)
|
int
|
|||
|
||||
-endTime(-et)
|
int
|
|||
|
||||
-startTime(-st)
|
int
|
|||
|
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. |
// save the current state to the initial conditions cache saveFluid;