hm_getdisplaycolor

Returns the display colors as specified in the Options panel.

Syntax

hm_getdisplaycolor item

Type

HyperMesh Tcl Query

Description

Returns the display colors as specified in the Options panel. Valid return values are 0-64. A value of 0 indicates the color is set the same as the background color.

Inputs

item
The item to query. For a list of valid items, see *setdisplaycolor.

Example

To get the current color of solid fin faces:

hm_getdisplaycolor 6

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

9.0