This action reads a take (.mov) file to a defined device.See also: writeTake, applyTake
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
angle (a) | unicode | ||
|
|||
device (d) | unicode | ||
|
|||
frequency (f) | float | ||
The timestamp is ignored and the specified frequency is used. If timeStamp data is not in the .mov file, the -noTimestamp flag should also be used. This flag resample, instead the data is assumed to be at the specified frequency.C: If the take file does not use time stamps, the default frequency is 60Hz.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
linear (l) | unicode | ||
Sets the linear unit used in the take. Valid strings are “mm”, “millimeter”, “cm”, “centimeter”, “m”, “meter”, “km”, “kilometer”, “in”, “inch”, “ft”, “foot”, “yd”, “yard”, “mi”, and “mile”.C: The default is the current user linear unit. |
|||
noTime (nt) | bool | ||
|
|||
take (t) | unicode | ||
|
Derived from mel command maya.cmds.readTake
Example:
import pymel.core as pm
# Read data info the clock device and apply.
pm.readTake( device='clock', take='clock.mov' )
pm.applyTake( device='clock' )