*complexanimatemodal

Creates a complex modal animation from results data.

Syntax

*complexanimatemodal title max_deflection frames display_mode

Type

HyperMesh Tcl Modify Command

Description

Creates a complex 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
Display type 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

Examples

To load the result file named C:/my_results/test.res and generate a rendered animation for Subcase 1 with Displacements (c) data type, using a 10.0 model unit scaling:
*analysisfileset C:/my_results/test.res
*inputsimulation "Subcase 1" "Displacements (c)"
*animatecycles 10
*complexanimatemodal "" 10.0 4
*freesimulation

Errors

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