pymel.core.animation.timeEditorBakeClips

timeEditorBakeClips(*args, **kwargs)

This command is used to bake Time Editor clips and to blend them into a single clip.

Flags:

Long Name / Short Name Argument Types Properties
bakeToAnimSource / bas unicode ../../../_images/create.gif
  Bake/merge the selected clips into the animation source.
bakeToClip / btc unicode ../../../_images/create.gif
  Bake/merge the selected clips into a clip.
clipId / id int ../../../_images/create.gif
  Clip IDs of the clips to bake.
combineLayers / cl bool ../../../_images/create.gif
  Combine the layers of the input clip.
forceSampling / fs bool ../../../_images/create.gif
  Force sampling on the whole time range when baking.
keepOriginalClip / koc bool ../../../_images/create.gif
  Keep the source clips after baking.
path / pt unicode ../../../_images/create.gif
  Full path of clips on which to operate. For example: composition1|track1|group; composition1|track1|group|track2|clip1.
sampleBy / sb time ../../../_images/create.gif
  Sampling interval when baking crossfades and timewarps.
targetTrackIndex / tti int ../../../_images/create.gif
  Specify the target track when baking containers. If targetTrackIndex is specified, the track index within the specified node is used. If targetTrackIndex is not specified or is the default value (-1), the track index within the current node is used. If targetTrackIndex is -2, a new track will be created.
targetTracksNode / ttn unicode ../../../_images/create.gif
  Target tracks node when baking containers. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.timeEditorBakeClips

Example:

::

import pymel.core as pm

# Bakes the currently selected clips to a new clip named “testClip” pm.timeEditorBakeClips(bakeToClip=”testClip”)