*assignedplot

Creates an assigned plot from results data.

Syntax

*assignedplot title legend_min legend_min_value legend_max legend_max_value mesh_color scale_factor full_size reserved vector_comp mult min_max_titles plot_info_title

Type

HyperMesh Tcl Modify

Description

Creates an assigned plot from results data. The results file must be loaded before executing this command. The *freesimulation command clears the plot.

Inputs

title
The title to use for the plot.
legend_min
Indicates if the minimum value found in the file should be used as the minimum value on the legend (0), or if the legend_min_value argument should be used instead (1).
legend_min_value
The minimum value to display on the legend. This is only used if legend_min is set to 1.
legend_max
Indicates if the maximum value found in the file should be used as the maximum value on the legend (0), or if the legend_max_value argument should be used instead (1).
legend_max_value
The maximum value to display on the legend. This is only used if legend_max is set to 1.
mesh_color
The color used to plot the mesh. Valid values are 1 through 64. A value of -1 uses the elements color. A value of 0 uses the background color.
scale_factor
The scale factor used for scaling a deformed plot.
full_size
Determines whether the assigned plot fills the entire screen. Valid values are:
0 - Use normal size.
1 - Use full screen. Press a mouse button to return.
reserved
Reserved for future use. Must be set to 0.
vector_comp
Indicates the vector data type component to use. Valid values are:
x comp
y comp
z comp
magnitude
mult
The value used to multiply the results values.
min_max_titles
Indicates if the min/max titles should be displayed. Valid values are:
0 - Do not display min/max titles.
1 - Display min/max titles.
plot_info_title
Indicates if the plot information title should be displayed. Valid values are:
0 - Do not display plot information title.
1 - Display plot information titles.

Examples

To load the result file named C:/my_results/test.res and generate an assigned plot for Subcase 1 with Displacements data type, using the maximum and minimum values defined in the analysis file, a mesh color of black, and normal plot size:

*analysisfileset C:/my_results/test.res
*inputsimulation "Subcase 1" "Displacements"
*assignedplot "" 0 0.0 0 0.0 0 0.0 0 0 "magnitude" 1.0 0 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
}