The design table can include a column for configuration-specific
colors. The value is a 32-bit integer that specifies RGB (red, green, blue).
If you do not specify a
value,
zero (black) is used.
If you know the 32-bit integer value of a color, you can
enter
the number directly into the design table in a column with the $COLOR parameter as the header. If you do not know
the 32-bit integer value, you can calculate it in the design table with the RGB
component values.
To apply a different color to each configuration, display states
must be linked to configurations.
Before configuring
the
color:
- Right-click a display state at the bottom of the
ConfigurationManager: CAD Family tab or the ConfigurationManager
tab, and
click Properties.
- In the Display State
Properties PropertyManager, under Advanced Options, select Link display states to
configurations.
The following table lists some typical colors, their components, and
the equivalent integer values.
Color |
Red |
Green |
Blue |
Integer |
Black |
0 |
0 |
0 |
0 |
Red |
255 |
0 |
0 |
255 |
Orange |
255 |
128 |
0 |
33023 |
Green |
0 |
255 |
0 |
65280 |
Blue |
0 |
0 |
255 |
16711680 |
Purple |
255 |
128 |
255 |
16744703 |
Turquoise |
0 |
255 |
255 |
16776960 |
White |
255 |
255 |
255 |
16777215 |
The configuration-specific color applies to shaded mode only
unless you select Apply same color to wireframe, HLR
and shaded
in
the Model Display options.