RemoveAllAnimation

Description

Removes animation from all parameters of objects.

Scripting Syntax

RemoveAllAnimation( [InputObjs], [Time], [BranchFlag], [SourceMask], [ParameterMask], [StaticFCurves], [BaseAnimation], [LayerAnimation] );

Parameters

Parameter Type Description
InputObjs String List of objects.

Default Value: Currently selected objects

Time Double The animated values at this frame are assigned to the parameters when the animation is removed.

Default Value: Current frame

BranchFlag siBranchFlag Remove animation from the branch or just the node.

Default Value: siUnspecified

SourceMask siSourceType Types of animation to remove.

Default Value: siAnySource

ParameterMask siParameterFilter Preset list of parameters.

Default Value: siAllParam

StaticFCurves Boolean If true remove static (constant) fcurves only.

Default Value: False

BaseAnimation Boolean If True the command will remove animation on the base layer.

Default Value: True

LayerAnimation Boolean If True the command will remove animation on all layers except the base layer.

Default Value: True

Examples

VBScript Example

GetPrim "Null"

Translate , -5.936, 2.999, -0.300, , 4

SetMarking "kine.local.pos"

SaveKey

Duplicate

Translate , 11.557, -0.000, 0.000, , 4

SaveKey

ParentObj "Null", "Null1"

RemoveAllAnimation "Null", siBranch, siAnySource

See Also

AddFCurve RemoveAnimation SaveKey RemoveKey NextKey PrevKey FirstKey LastKey