*animatemodal

Creates a modal animation from results data.

Syntax

*animatemodal title max_deflection frames display_mode output_type

Type

HyperMesh Tcl Modify

Description

Creates a modal 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.
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 with Displacements data type, using a 10.0 model unit scaling:

*analysisfileset C:/my_results/test.res
*inputsimulation "Subcase 1" "Displacements"
*animatecycles 10
*animatemodal "" 10.0 4 0
*freesimulation

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}