*animatetransient
Creates a transient animation from results data.
Syntax
*animatetransient title max_deflection frames display_mode increment output_type
Type
HyperMesh Tcl Modify Command
Description
Creates a transient animation from results data. The results file must be loaded before executing this command. The *freesimulation command clears the animation.
Inputs
- title
 - The title to use for the animation.
 - max_deflection
 - The maximum deflection in model units, or the scale factor, to which the maximum analysis result should be scaled. Use a negative value for model units and a positive value for scale factor.
 - frames
 - The number of frames to use during the animation sequence. The maximum value is machine dependent.
 - display_mode
 - The type of display to generate. Valid values are: 
- 0 - Mesh wireframe only.
 - 1 - Rendered with mesh lines.
 - 2 - Feature lines only.
 - 3 - Rendered with feature lines.
 - 4 - Rendered only.
 
 - increment
 - The simulation increment to use. This allows for skipping simulations in the results file.
 - output_type
 - This argument is no longer supported and is ignored.
 
Examples
To load the result file named C:/my_results/test.res and generate a rendered animation for Subcase 1 through Subcase 4 with Displacements data type, using a 10.0 model unit scaling:
*analysisfileset C:/my_results/test.res
*inputsimulation "Subcase 1" "Displacements"
*lastsimulation "Subcase 4" "Displacements"
*animatecycles 10
*animatetransient "" 10.0 4 1 0
*freesimulation
    Errors
if { [ catch {command_name...} ] } {
   # Handle error
}