*setqualitythresholdscolors
Sets the color for all element quality index ranges.
Syntax
*setqualitythresholdscolors double_array number_of_doubles
Type
HyperMesh Tcl Modify Command
Description
This command is related to the element quality view mode. It sets the color for all element quality index ranges.
Inputs
- double_array
- The ID of the double array containing the color values for each quality index range. Must always be set to 1.
- number_of_doubles
- Must currently be set to 5.
Example
To assign the quality index thresholds colors: ideal 56 (green), good 41 (cyan), warn 28 (brown), fail 57 (yellow) and worst 3 (red):
*createdoublearray 5 56 41 28 57 3
*setqualitythresholdscolors 1 5
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
12.0.110