*inputsimulation

Sets the current simulation and data type for contour and assigned plots, vector plots, and animations.

Syntax

*inputsimulation simulation data_type

Type

HyperMesh Tcl Modify

Description

Sets the current simulation and data type for contour and assigned plots, vector plots, and animations. The results file must be loaded before executing this command.

Inputs

simulation
The name of the simulation contained in the results file.
data_type
The name of the data type for the simulation.

Example

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"
*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
}