*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:
- reserved
- Reserved for future use. Must be set to 0.
- vector_comp
- Indicates the vector data type component to use. Valid values are:
- mult
- The value used to multiply the results values.
- min_max_titles
- Indicates if the min/max titles should be displayed. Valid values are:
- plot_info_title
- Indicates if the plot information title should be displayed. Valid values are:
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
if { [ catch {command_name...} ] } {
# Handle error
}