Go to: Synopsis. Return value. Keywords. MEL examples.
truncateFluidCache
truncateFluidCache is undoable, queryable, and editable.
This command sets the end time of a fluid cache to the current time. If the current time is less than the end time of the cache, the cache is truncated so that only the portion of the cache up to and including the current time is preserved.None
In query mode, return type is based on queried flag.
// Truncate a fluid cache that has a start time of 1 // and an end time of 25 so that only the first 10 // frames are preserved and the end time of the // cache is set to 10. // currentTime 10; truncateFluidCache;