Adding Elements to the Display
- Last UpdatedFeb 19, 2025
- 2 minute read
Keywords
ADD COLOUR
Description
Allows selected Design items to be added to the Draw List, which defines which elements are to be displayed. If an element is to be displayed in a colour which is different from the default colour, this can be specified as part of the command line.
Items added to the display are added to all volume views with the scale and view direction appropriate to that view.
The syntax applies to views attached to a Global drawlist.
The Draw List can contain significant elements only. The following is a partial list of significant elements as an example:
EQUI SUBE DATU GRDM PTRA BOUN BRAN HANG PVOL* RPLA* STRU SUBS SCTN PNOD PALJ PANE (* only if directly below a Site or Zone.)
If an element below a significant element (i.e. a primitive) is added, then the whole significant element will be added as well. If an element above a significant element (e.g. a PIPE) is added, then all significant elements owned by that element will be added; not the high-level element itself.
Only significant elements (for example, an EQUI) appear in the drawlist. What appears in the 3D view are all the primitives (for example, BOX, CYLI, ...) that are owned by the significant element. ADD ONLY will add the significant element to the drawlist but only add the given primitive(s) to the 3D view rather than all the primitives below the significant element.
Examples |
|
|---|---|
|
ADD ONLY /VESS1/N1 |
adds /VESS1 to the drawlist but only nozzle /VESS1/N1 to the 3D view |
|
ADD /P100A |
/P100A is added to the Draw List |
|
ADD CE |
The current element will be added to the Draw List |
|
ADD /ZONE1 /ZONE2 COLOUR 5 |
/ZONE1 and /ZONE2 will be added in colour 5. If the user wishes to add items in other colours, separate commands must be used. |
Command Syntax
>-- ADD --+-- Only --+ .----<-------.
| | / |
‘----------*-- <selatt> ---+-- COLour <colno> -->
|
‘-->
where:
<colno> = >--+-- integer --.
| |
|-- ACTive ---|
| |
|-- VISIble --|
| |
|-- CE -------|
| |
|-- CLASH ----|
| |
|-- OBST -----|
| |
‘-- AIDS -----+-->
Querying
|
Q DRAW |
Queries the contents of the Draw List |
|---|---|
|
Q DRAW COUNT |
Queries the number of items in the Draw List |
|
Q DRAW FULL |
Queries the contents of the Draw List and the colour with which each Draw List member was added |
|
Q DRAW r COLOUR |
Queries the colour number of the referenced item, r. It returns unset if the item is not in the Draw List. |
|
Q DRAW r TRANSLUENCY |
Queries the translucency number of the referenced item, r. It returns unset if the item is not in the Draw List. |