Layer Export Settings
- Last UpdatedNov 27, 2025
- 2 minute read
AutoCAD layers can be defined and Marine elements assigned to those layers by rules in a configuration.
For example:
switch USELAYERRULES 'ON'
switch LAYERDEFAA 'Ventilation|0.3mm,GREEN'
switch LAYERDEFAB 'Pipes|YELLOW,DASHED'
switch LAYERDEFAC 'Structures|0.02"
LAYER ALL EQUI WITH :purpose EQ HVAC, 'Ventilation'
LAYER ALL BRAN WITH ( HBOR GE 100 OR TBOR GE 100 ),'Pipes'
The first switch (USELAYERRULES) enables this layer-rules system.
The next two switches (LAYERDEFAA and LAYERDEFAB) define AutoCAD layers. You may use several of these switches between LAYERDEFAA and LAYERDEFZZ to define layers.
Each definition consists of a layer name (for example, Ventilation) followed by a | and then a comma-separated list which may include any combination of
-
A line thickness, in mm or inches. (This will be rounded to the nearest standard line-weight.)
-
A colour chosen from the following list: RED, YELLOW, GREEN, CYAN, BLUE, MAGENTA, WHITE, GREY, BRIGHTRED, PINK, ORANGE, TURQUOISE, INDIGO, MAUVE, VIOLET, BROWN. (Note that geometry in the file is not generally set to colour-by-layer, so this colour may not be displayed)
-
A line pattern chosen from the following list: CONTINUOUS, DASHED, DOTTED, CHAINED, LDASHED, DDASHED, DDOTTED, FDOTTED, DCHAINED, TCHAINED.
Standard selection syntax is used to define Layer Rules. These specify how design elements are to be organized onto AutoCAD Layers.
Example:
LEVEL ALL STRU, 'Structures'
LEVEL ALL BRAN WITH ( HBOR GE 100 OR TBOR GE 100 ) , 'Pipes'
LEVEL ALL EQUI WITH :purpose EQ HVAC, 'Ventilation'
LEVEL ( /C1101 ) , 'Pump'
Rules are applied in order; therefore, if a rule has already been applied for a given element, a later rule will not affect it.
Design elements which can have level rules include: SITE, ZONE, STRU, SUBS, FRMW, SBFR, EQUI, SUBE, PIPE, BRAN, HVAC, REST, GRDM, PTRA, BOUN, DRAWI (when owned by a SITE or ZONE) and all Piping Components.