Defining Colors
- Last UpdatedJan 10, 2024
- 3 minute read
Keywords:
COLOUR ACTIVE CE VISIBLE CLASH OBST AIDS
Description:
These commands allow colors to be defined so that different types of item in the display may be distinguished by means of color. Certain items such as current element and active element colors have default settings, but these may also be redefined.
The colors may be assigned by using the COLOUR command to define the Red-Green-Blue mix for a color number or to assign a predefined color mix by name. Model allows the use of 115 user-definable colors, plus some specific ones which are assigned to items which need to be readily distinguishable in the display.
Definitions:
-
The Active element is the significant element (and its components) being worked on.
-
The Current Element (CE) is the actual element currently being accessed.
-
The Visible design consists of the design elements which is required to be displayed (but which the user is not currently working on).
-
A Clashing element is an element whose current position and geometry are being tested for interferences against other elements in the design and which has been found to clash (refer to Clash Detection for further information).
-
An Obstructing element is any of the elements in the design against which a clashing element is being tested for interferences and which has been found to clash.
-
An Aid includes tags (markers), axes and other graphical annotations.
The predefined color mixes which are specified by name are as follows:
|
Predefined Color Mixes |
|||
|---|---|---|---|
|
black |
pink |
darkgreen |
beige |
|
white |
salmon |
cyan |
wheat |
|
whitesmoke |
orange |
turquoise |
tan |
|
ivory |
brightorange |
aquamarine |
sandybrown |
|
grey |
orangered |
blue |
brown |
|
lightgrey |
maroon |
royalblue |
khaki |
|
darkgrey |
yellow |
navyblue |
chocolate |
|
darkslate |
gold |
powderblue |
darkbrown |
|
red |
lightyellow |
midnight |
blueviolet |
|
brightred |
lightgold |
steelblue |
firebrick |
|
coralred |
yellowgreen |
indigo |
darkorchid |
|
tomato |
springgreen |
mauve |
dimgrey |
|
plum |
green |
violet |
coral |
|
deeppink |
forestgreen |
magenta |
indianred |
|
lightblue |
limegreen |
mediumaquamarine |
sienna |
|
slateblue |
|||
The default color assignments are:
|
Color No. |
Color |
|
|---|---|---|
|
Active design |
orange |
|
|
Current element |
yellow |
|
|
Visible design |
lightgrey |
|
|
Clashing element |
red |
|
|
Obstructing element |
tomato |
|
|
Aids |
blue |
|
|
1 |
grey |
|
|
2 |
red |
|
|
3 |
orange |
|
|
4 |
yellow |
|
|
5 |
green |
|
|
6 |
cyan |
|
|
7 |
blue |
|
|
8 |
violet |
|
|
9 |
brown |
|
|
10 |
white |
|
|
11 |
pink |
|
|
12 |
mauve |
|
|
13 |
turquoise |
|
|
14 |
indigo |
|
|
15 |
black |
|
|
16 |
magenta |
|
|
Example: |
||
|
COL 5 DARKGREEN |
Color 5 will be changed to dark green. |
|
|
COL 3 MIX RED 50 GRE 50 BLU 5 |
Color 3 will change to the specified mix of red, green and blue. |
|
|
COL ACTIVE BRIGHTRED |
Sets the color for displaying active elements to bright red. |
|
Note:
When colors are mixed in their Red, Green and Blue constituents, the command line
must contain values for all three constituents in the correct order. The numbers entered
for the relative proportions of the basic colors must each be in the range 0-100,
but they are not percentages of the overall color and so do not need to add up to
100.
Command Syntax:
>- COLour -+- integer -.
| |
|- ACTive --|
| |
|--AIDS-----|
| |
|- VISIble -|
| |
|- CE ------|
| |
|- CLASH ---|
| |
‘- OBST ----+-- colour_name --->
|
‘-- MIX RED integer GREen integer BLUe integer ->
where colour_name is the name of any of the predefined color mixes listed above.
Querying:
>-- Q COLour --+-- integer -----.
| |
|-- CE ----------|
| |
|-- ACTive ------|
| |
|-- VISIble -----|
| |
|-- CLASH -------|
| |
|-- OBST --------|
| |
‘-- AIDS --------+-->