Go to: Synopsis. Return value. Keywords. Flags. MEL examples.

Synopsis

resampleFluid [-resampleDepth int] [-resampleHeight int] [-resampleWidth int]

resampleFluid is undoable, queryable, and editable.

A command to extend the fluid grid, keeping the voxels the same size, and keeping the existing contents of the fluid in the same place. Note that the fluid transform is also modified to make this possible.

Return value

None

In query mode, return type is based on queried flag.

Keywords

fluid

Flags

resampleDepth, resampleHeight, resampleWidth
Long name (short name) Argument types Properties
-resampleWidth(-rw) int createqueryedit
Change width resolution to this value
-resampleHeight(-rh) int createqueryedit
Change height resolution to this value
-resampleDepth(-rd) int createqueryedit
Change depth resolution to this value

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.

MEL examples

// set width resolution to 3
resampleFluid -rw 3;
// set height resolution to 12
resampleFluid -rh 12;
// set all  resolutions to 20
resampleFluid -rw 20 -rh 20 -rd 20;