/
bakeData

bakeData

Description

Copies all data from the currently active clip into the target clip, for the selected objects.

bakeData is generally used to overwrite unwanted data modifications, copying the active clip data to the target clip (if the target clip is not specified then it bakes down to the next clip).

The command enables you to do restore to the character a previously saved state of animation data long after your levels of undo have run out.

Functional area

Data editing

Command syntax

Syntax

bakeData ["targetClip"] [-all] [-ranges] [-percent float] [-mustHaveKeys] [-selectedChannels]

Arguments

NameTypeRequiredComments
targetClipstringnoName of target clip.

Flags

NameFlag argumentsArgument typeExclusive toComments
all0
rangesPerforms the copy on all objects in the scene.
ranges0
allOnly copies data over the currently selected time ranges.
percent1floatTakes a float, between 0 and 100, indicating the percent difference to bake. 100 bakes normally.
mustHaveKeys0
Module must have a key on both clips for data to be baked at any given frame.
selectedChannels



Return value

void

Examples

// Load suitable Shogun file containing at least two subjects before
// running the following
  
selectRange -all;
filter 0.15 35;
selectRange 380 450;
bakeData -ranges;
  
// In this example, a filter is applied to all of the markers 
// pertaining to the actor. 
// With all markers still selected, a range ( 380 - 450 ) is 
// selected, and the second figure data is baked to the 
// active figure over the selected range. 
// Make sure your second figure is turned on in the Perspective view 
// (ALT + RMB, Show second figure) and notice that at frame 380 
// the first and second figure data become one and the same; 
// original data having been baked back onto the first figure. At 
// frame 451, the first figure data snaps back to its filtered state.

Additional information

Related commands