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


movOut [-comment] [-file string] [-precision uint] [-time timerange] [targetList]

movOut is undoable, NOT queryable, and NOT editable.

Exports a .mov file from the listed attributes. Valid attribute types are numeric attributes; time attributes; linear attributes; angular attributes; compound attributes made of the types listed previously; and multi attributes composed of the types listed previously.

Length, angle, and time values will be written to the file in the user units.

If an unsupported attribute type is requested, the action will fail. The .mov file may be read back into Maya using the movIn command.

Return value



applyTake, defineDataServer, defineVirtualDevice, enableDevice, filter, movIn, readTake, recordDevice, writeTake


comment, file, precision, time
Long name (short name) Argument types Properties
-comment(-c) create
If true, the attributes written to the .mov file will be listed in a commented section at the top of the .mov file. The default is false.
-file(-f) string create
The name of the .mov file. If no extension is used, a .mov will be added.
-time(-t) timerange create
The time range to save as a .mov file. The default is the current time range.
-precision(-pre) uint create
Sets the number of digits to the right of the decimal place in the .mov file.
C: The default is 6.

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

//    Create a sphere and set some keyframes.
sphere -n sph;
currentTime 0;
move 0 0 0 sph;
setKeyframe sph.t;
currentTime 24;
move 8 9 10 sph;
setKeyframe sph.t;

//    Write the keys to a .mov file.
movOut -f sphereMotion.mov -t "0:24" sph.t;

//    Another way to write the same file.
movOut -f sphereMotion.mov -t "0:24" sph.tx sph.ty sph.tz;