The AnimationController object controls all object-based animation to be displayed in the viewports. The AnimationController object has no constructor. Abaqus creates the animationController member when it creates the Session object.
import animation session.animationController
This method begins the animation.
Required arguments
Optional argument
The SymbolicConstant UNLIMITED or an Int specifying how many seconds to play the animation. The default value is UNLIMITED.
Return value
Exceptions
If animationType=NONE:
This method increments the animation frame.
Arguments
Return value
Exceptions
This method decrements the animation frame.
Arguments
Return value
Exceptions
This method renders the specified frame of the animation.
Required arguments
Optional arguments
An Int specifying the frame number.
A Float specifying the frame: for animationType=TIME_HISTORY the frame with the time nearest to this value, for animationType=HARMONIC the frame with the angle nearest to this value, for animationType=SCALE_FACTOR the frame with the scale value nearest to this value.
Return value
Exceptions
This method renders the first frame of the animation.
Arguments
Return value
Exceptions
This method renders the last frame of the animation.
Arguments
Return value
Exceptions
This method modifies the AnimationController object.
Required arguments
Optional arguments
A SymbolicConstant specifying the type of movie to play. Possible values are SCALE_FACTOR, HARMONIC, TIME_HISTORY, and NONE. The default value is NONE.
A sequence of pairs of Strings specifying the name of a viewport where the animation is active followed by a layer name, or the SymbolicConstant ALL. If a layer name is not supplied, the current layer is used. If the viewport is in single display mode, the layer name is ignored if it is specified. The default value is an empty sequence.
Return value
Exceptions
RangeError.
The AnimationController object can have the following members:
A SymbolicConstant specifying the type of movie to play. Possible values are SCALE_FACTOR, HARMONIC, TIME_HISTORY, and NONE. The default value is NONE.
A SymbolicConstant specifying the state of the animation controller. Possible values are STOP and PLAY. The default value is STOP.
An AnimationOptions object.
A tuple of pairs of Strings specifying the name of a viewport where the animation is active followed by a layer name, or the SymbolicConstant ALL. If a layer name is not supplied, the current layer is used. If the viewport is in single display mode, the layer name is ignored if it is specified. The default value is an empty sequence.