*setdisplaycolor

Sets the display color for the specified item.

Syntax

*setdisplaycolor item color

Type

HyperMesh Tcl Modify

Description

Sets the display color for the specified item.

Inputs

item
Specifies the item to set. Supported values are:
  • 1 – free edges
  • 2 – shared edges
  • 3 – suppressed edges
  • 4 – non-manifold edges
  • 5 – global coordinate axis labels
  • 6 – fin faces on solids
  • 7 – bounding faces on solids
  • 8 – full partition faces on solids
  • 9 – 2D topology faces
  • 10 – component edges
  • 11 – not supported (background color1). Use *setbackgroundcolors.
  • 12 – ignored topology faces
  • 13 – elements no props/mats
  • 14 – ignored solid mappable
  • 15 – not solid mappable
  • 16 – 1 directional solid mappable
  • 17 – 3 directional solid mappable
  • 18 – global X axis
  • 19 – global Y axis
  • 20 – global Z axis
  • 21 – not supported (background color2). Use *setbackgroundcolors.
color
The color to set the object type to. Valid values are 1-64. A value of 0 indicates to set the color of that object to the background color value.

Example

To set the current color of “fin faces on solids” to 1:

*setdisplaycolor 6 1

To set the current color of “1 directional solid mappable” to 10:

*setdisplaycolor 16 10

Errors

None.