*setqualitythresholdcolor

Sets the color for a specified element quality index range.

Syntax

*setqualitythresholdcolor range_id color

Type

HyperMesh Tcl Modify

Description

This command is related to the element quality view mode. It sets the color for a specified element quality index range.

Inputs

range_id
Specifies the element quality index range to update. Valid values are:
  • 0 - Ideal (ideal ≤ QI < good)
  • 1 - Good (good ≤ QI < warn)
  • 2 - Warn (warn ≤ QI < fail)
  • 3 - Fail (fail ≤ QI < worst)
  • 4 - Worst (worst ≤ QI)
color
The color to use. Valid values are 1 through 64.

Example

To assign the color for the warn range to brown:

*setqualitythresholdcolor 2 28

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