Anim
Import
Anim. The Alias File Requestor is displayed.

Tips:
Export
anim. You can also generate your own Animation SDL files by writing your own procedures or gathering data from other sources, and use this function to retrieve them.

Replace All
Replaces all of the existing animation on the affected parameters, regardless of frame number. Insert
Inserts animation from the SDL file into the existing animation, at the point specified by the Placement option, without removing any of the existing animation.
Parameters
Indicates which parameters should be retrieved from the SDL file: All
All parameters in the file will be retrieved. Global
Retrieves only those parameters that are selected in the Global section of the Animation
Param control... window. Local
Retrieves only those parameters that are selected in the Local section of the Animation
Param control... window for the currently picked object(s). Frame Range
Specifies which frames are to be retrieved from the SDL file: Option Window
Pops up Start and End sliders that can be used to explicitly specify the range of frames to retrieve from the SDL file. All
Selects all animation in the file. This is the same as selecting Option Window and setting Start and End to be the times of the earliest and latest keyframes, respectively, of any of the affected parameters in the file. Placement
Specifies where the animation from the SDL file should be placed: Before
This option is only available when using the Insert retrieval method. It causes the SDL animation to be inserted before the first keyframe of animation on the currently picked object(s). (See Example.)
After
This option is only available when using the Insert retrieval method. It causes the SDL animation to be inserted after the last keyframe of animation on the currently picked object(s). (See Example.)
From File
Causes all of the keyframes from the SDL animation to be placed at the same times as they occupy in the SDL file. Option Window
Pops up the Start Time slider which may be used to specify the time at which the first keyframe from the SDL file should be placed. Spacing
Allows you to specify a time gap to be left between the start and end of an inserted segment of animation, and between subsequent copies of an inserted or replaced segment of animation. If the spacing is set to 0, it is possible (even likely) that the keyframes at either end of the inserted animation will fall on the same time as one of the keyframes in the existing animation. Since only one keyframe is allowed at any given time, the time of the leftmost of the two keyframes is set back by 0.01 frames to distinguish it from the other and the two are joined with linear tangents. By explicitly setting Spacing to a value greater than 0, you can avoid this default behavior and better fine-tune the transition between the existing and inserted animations. Copies
Specifies the number of copies of the retrieved animation to place into the existing animation. The first keyframe of each copy immediately follows the last keyframe of the previous one after a gap specified by the Spacing option. Overwrite Names
If this option is selected, the names of the affected existing animation curves will be overwritten by the names of the curves retrieved from the SDL file. If the new name conflicts with that of some other curve in the existing animation, then a default curve name will be created.
Handling Transitions Between Retrieved And Existing Animation
Since the Replace All operation removes all existing animation from the affected parameters, you don't have to worry about transitions between existing and retrieved animation. However, transitions do become an issue for Replace Part, which only does a partial replacement, and Insert.
When the end of one segment of animation must be joined to the start of another, and there is a gap between them, the inbound tangent of the last keyframe on the left segment and the outbound tangent on the first keyframe of the right segment are both fixed to preserve the shapes of the segments. The gap is then bridged with linear tangents on the outbound side of the left segment and the inbound side of the right segment.
Expressions, Motion Paths and Timewarps
During the Replace Part and Insert operations, if a parameter is animated by an expression, motion path, or timewarp, either in the file or in the existing animation, then it is not retrieved. When this happens, a prompt appears, giving the option to either cancel the retrieval or go ahead with it but without affecting those parameters. Only the Replace All operation retrieves these kinds of animation.
When performing a Replace All operation, Copies is ignored for expressions and motion paths, as it is basically meaningless.
Multiple copies of timewarps may be retrieved during Replace All, but be careful. You may get unexpected results, since the linear tangent transition between the end of one copy and the start of the next may not be what is desired.
References To Parameter Curves And Objects In Expressions
When using Replace All, you can retrieve expressions that reference parameter curves in the SDL file. If Overwrite Names is off, or if there is a conflict between existing and retrieved curves, it is possible that the names of some of those curves will change during retrieval. When this happens, the expression is considered invalid and is ignored during retrieval.
Similarly, a retrieved expression may reference an object from the SDL file whose name is different from that in the existing animation. If the expression contains a relative reference to an object in the retrieved hierarchy, it refers to the corresponding object in the existing animation, regardless of any difference in the names of the objects. If the object reference is absolute, the expression remains unchanged and refers to the object in the existing animation having the same name. If there is no such object, the expression will be considered invalid and will be ignored during retrieval.
Multiple-Instance Actions
It is possible for two or more parameters to share the same action, meaning that they share the same parameter curve. When this happens it may not be possible for curve names to be preserved. For example, if two parameters that share a curve named A are being replaced with animation in which the two parameters have completely different curves, then it is not possible to preserve the curve name because that would imply having two completely different parameter curves named A, which is not allowed Example
This example shows what happens when frames 4 through 12 of an Animation SDL file are retrieved and inserted into an existing animation starting at frame 7. For purposes of clarity, only one parameter is shown, but the same process would be followed for each retrieved parameter.

The insertion process then proceeds in the following manner: (As a visual aid, retrieved animation is shown in blue and existing animation in red. Were you to actually view them in the Action Window, the retrieved and existing animation for a given parameter would be displayed in the same color.)








Notes:
Save anim, you cannot retrieve an Animation SDL file that only has a DEFINITION section. This is because the animation curves would be inaccessible in Alias unless they are being used by a channel that is animating some object. Use the action window to view animation curves that are being used by an animated object (see Animation
Action window).
Export
Anim.