Go to:
Return value. Related commands. Flags. Examples.
Synopsis
movIn [flags] [attributeList]
Imports a .mov file into animation curves connected to the listed
attributes. The attribute must be writable, since an animation curve
will be created and connected to the attribute. If an animation curve
already is connected to the attribute, the imported data is pasted onto
that curve.
The starting time used for the .mov file importation is the current time
when the command is executed.
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. If an unsuppoted attribute type is requested, the command
will fail and no data will be imported. It is important that your
user units are set to the same units used in the .mov file, otherwise
linear and angular values will be incorrect.
To export a .mov file, use the movOut command.
Return value
none
Related commands
applyTake, filter, recordDevice, defineDataServer, writeTake, defineVirtualDevice, movOut, enableDevice, readTakeFlags
file, startTime
Long name (short name) | [argument types] | Properties |
---|
-file
(-f)
| string |  |
|
The name of the .mov file. If no extension is used, a .mov will be
added.
|
|
-startTime
(-st)
| float |  |
|
The default start time for importing the .mov file is the
current time. The startTime option sets the starting time for
the .mov data in the current time unit.
|
|
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
|
Examples
sphere -n sph;
// Start importing the data at time 45;
//
currentTime 45;
// Read in rotation, translation, and scale information from the
// test.mov file into the sphere. The order of data in the test.mov
// file must be: rx, ry, rz, tx, ty, tz.
//
movIn -f "sphereMotion.mov" sph.r sph.t;
// An equivalent way of importing data into the sphere.
//
movIn -f "sphereMotion.mov" sph.rx sph.ry sph.rz sph.tx sph.ty sph.tz;