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

Synopsis

setKeyframeBlendshapeTargetWts

setKeyframeBlendshapeTargetWts is undoable, NOT queryable, and NOT editable.

This command can be used to keyframe per-point blendshape target weights. It operates on the currently selected objects as follows. When the base object is selected, then the target weights are keyed for all targets. When only target shapes are selected, then the weights for thoses targets are keyframed.

Return value

intnumber of vertices for which the targets weights are keyed

Keywords

setKeyframe, blendShape

Related

blendShape

MEL examples

// first create a blendShape
//
polySphere;
duplicate;
duplicate;
select -r pSphere3 pSphere2 pSphere1;
blendShape;
// Select one of the targets, and key its per-point weights.
// Typically this would be done after painting per-point weights
// for the target.
//
select -r pSphere2;
setKeyframeBlendshapeTargetWts;