*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 Command
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
if { [ catch {command_name...} ] } {
# Handle error
}