pymel.core.animation.readTake

static animation.readTake(*args, **kwargs)

This action reads a take (.mov) file to a defined device. See also: writeTake, applyTake

Flags:
Long name (short name) Argument Types Properties
angle (a) unicode ../../../_images/create.gif
 
Sets the angular unit used in the take. Valid strings are deg, degree, rad, and radian. C: The default is the current user angular unit.
device (d) unicode ../../../_images/create.gif
 
Specifies the device into which the take data is read. This is a required argument.
frequency (f) float ../../../_images/create.gif
 

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 have multiple arguments, passed either as a tuple or a list.

linear (l) unicode ../../../_images/create.gif
 

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 ../../../_images/create.gif
 
Specifies if the take (.mov) file contains time stamps. C: The default is to assume time stamps are part of the take file.
take (t) unicode ../../../_images/create.gif
 
Reads the specified take file. It is safest to pass the full path to the flag.

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' )

Previous topic

pymel.core.animation.pose

Next topic

pymel.core.animation.recordDevice

Core

Core Modules

Other Modules

This Page