Description
Copies all the animation under the specified object to the clipboard. You can use the ParameterMask to specify which kinds of parameters to copy from. This saves you from having to explicitly specify the parameters to target in the InputObjs parameter.
This command usually tries to match the parameter by path. If the parameters cannot be found by path, it tries to copy them by ordinal (the order in which they are enumerated). For example, running CopyAllAnimation2 on a kine.pos would copy x-y-z on the red green blue of a shader if pasted there.
Use this command in conjunction with the PasteAllAnimation command to copy animation between objects.
Use this command instead of CopyAllAnimation.
Scripting Syntax
CopyAllAnimation2( InputObjs, [SourceMask], [ParameterMask], [RemoveAnimation], [BaseAnimation], [LayerAnimation] )
Parameters
|
Parameter |
Type |
Description |
|
InputObjs |
Object or property name (anything selectable) |
The object (or property) under which we can find the animation to copy. |
|
SourceMask |
Type of animation to remove. Currently, only FCurves and Expressions are copied. Default Value: siAnySource |
|
|
ParameterMask |
Parameters containing animation to copy. Default Value: siAllParam |
|
|
RemoveAnimation |
True to disconnect the animation after copying (not supported for now) Default Value: false |
|
|
BaseAnimation |
If True the command will copy animation on the base layer. Default Value: True |
|
|
LayerAnimation |
If True the command will copy animation on all layers except the base layer. Default Value: True |
See Also
Examples
• See CopyAllAnimation2.1.js
Autodesk Softimage 2011