Professional Documents
Culture Documents
Description:
Lets the user define a set of rules for automating the selection of colours for items added to graphical views.
Each rule consists of a set of selection criteria for particular types of element, together with an associated
colour (which may be an explicit colour number or an expression).
When an element is added to the drawlist, the selection rules are scanned in sequence until a rule is found to
be true for that element. The element is then added in the colour corresponding to that rule. If the colour is
invalid, the search is continued. If no rule is true for the element, the default colour is used. The order in which
the rules are set up is significant, since the first rule found to be true determines the colour.
Automatic colour selection may be switched on or off as required. If it is on, the colour specified by the rule is
used rather than any other colour entered as part of the ADD command. If dynamic autocolouring is specified,
the autocolour will be checked every time an attribute is changed and, if necessary, the relevant element will
be re-added in the current colour.
Each autocolour may be drawn either as a solid colour (default) or as a translucent shade. If using
translucency, the user can also specify whether or not the edges of an item should be drawn (as in wireline
mode) to give a more distinct outline.
Examples:
AUTOCOLOUR ALL EQUI All Equipment items to be added in colour 4 with 25%
COLOUR 4 TRANSLUCENCY translucency and edges drawn.
25 EDGES ON
AUTOCOLOUR ALL BRAN All Branches with head bores greater than 100 to be
WITH (HBORE GT 100) added in colour 10.
COLOUR 10
AUTOCOLOUR ALL COLOUR Uses the UDA :COLOUR to denote the colour for all
(:COLOUR) displayed elements. If the user enters this as the final
rule, it will provide a default colour if all other rules
prove false.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/DRMPGC/DRMPGC15.05.0... 16/12/2019
Selecting Graphics Colours Automatically Page 2 of 3
AUTOCOLOUR REMOVE 2 Removes the second rule from the current list.
Command Syntax:
>- AUTOCOLOUR -+- selection_rule - COLOUR - expression -+->
| |
| .-----------------------<--------------'
| |
| '- TRANSLucency - expression -+->
| |
| '- EDGES - ON/OFF ->
|- ON/OFF ->
|
|- DYNAMIC - ON/OFF ->
|
|- RESET ->
|
|- REMOVE - integer ->
|
‘- REORDER - integer1 - TO - integer2 ->
Note: The expression for Translucency must be in the range 0-99: the actual translucency will be set to the
nearest of 12, 25, 37, 50, 62, 75 or 87
(99 = transparent; 0 = opaque).
AUTOCOLOUR ON must be in force to see the effect of AUTOCOLOUR DYNAMIC ON.
Querying:
1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/DRMPGC/DRMPGC15.05.0... 16/12/2019
Selecting Graphics Colours Automatically Page 3 of 3
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/DRMPGC/DRMPGC15.05.0... 16/12/2019