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

Synopsis

applyTake [-channel string] [-device string] [-filter string] [-preview] [-recurseChannel] [-reset] [-specifyChannel] [-startTime time]

applyTake is undoable, NOT queryable, and NOT editable.

This command takes data in a device (refered to as a take) and converts it into a form that may be played back and reviewed. The take can either be imported through the readTake action, or recorded by the recordDevice action. The take is either converted into animation curves or if the -preview flag is used, into blendDevice nodes.

The command looks for animation curves attached to the target attributes of a device attachment. If animation curves exist, the take is pasted over the existing curves. If the curves do not exist, new animation curves are created.

If devices are not specified, all of the devices with take data and that are enabled for applyTake, will have their data applied.

See also: recordDevice, enableDevice, readTake, writeTake

Return value

None

Related

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

Flags

channel, device, filter, preview, recurseChannel, reset, specifyChannel, startTime
Long name (short name) Argument types Properties
-channel(-c) string createmultiuse
This flag overrides the set channel enable value. If a channel is specified, it will be enabled.
C: The default is all applyTake enabled channels for the device(s).
-device(-d) string createmultiuse
Specifies which device contains the take.
C: The default is all applyTake enabled devices.
-filter(-f) string createmultiuse
This flag specifies the filters to use during the applyTake. If this flag is used multiple times, the ordering of the filters is from left to right.
C: The default is no filters.
-preview(-p) create
Applies the take to blendDevice nodes attached to the target attributes connected to the device attachments. Animation curves attached to the attributes will not be altered, but for the time that preview data is defined, the preview data will be the data used during playback.
C: The default is to not preview.
-recurseChannel(-rc) create
When this flag is used, the children of the channel(s) specified by -c/channel are also applied. C: The default is all of the enabled channels.
-reset(-r) create
Resets the blendDevice nodes affected by -preview. The preview data is removed and if animation curves exist, they are used during playback.
-specifyChannel(-sc) create
This flag is used with -c/channel flag. When used, applyTake will only work on the channels listed with the -c/channel flag.
C: The default is all of the enabled channels.
-startTime(-st) time create
The default start time for a take is determined at record time. The startTime option sets the starting time of the take in the current animation units.
C: The default is the first time stamp of the take. If a time stamp does not exist for the take, 0 is used.

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

//    Apply all of the recorded data to param curves.
applyTake;

//    Applies the takes from clock and ultra devices and starts the
//    data at anim time 100.
applyTake -d clock -d ultra -st 100;

//    Applies the take from the ultra device and uses the euler and
//    simplify filters.
applyTake -d ultra -f euler -f simplify;

//    Applies only the shoulder channel and all of its children.
applyTake -d ultra -c shoulder -sc -rc;