Layers and the Layer Catalogue

Updated 2026-09-03 Also in: Português
Ask about this page
Answers from this page only. General assistant
What it is A vocabulary of layer names with rules, and a catalogue that resolves the layer of every drawing role
Signing families SINA_HOR (horizontal) and SINA_VERT (vertical) — the internal canonical names
Who resolves them The layer catalogue, fed by the active style and the active country profile
Tools CAPCAD_LAYER_ASSISTANT (Drawing standards), CAPCAD_LAYER_MANAGER (Layer tools), CAPCAD_LINETYPE_MANAGER (Linetypes)

In CapCad a layer name is a sentence with a grammar — which is why it carries information instead of just separating entities. ROAD_MARK_WH_4x2_D1013.1 reads "road marking, white, 4 m mark with a 2 m gap, diagram 1013.1"; from there, colour, linetype and plot setting are consequences, not manual choices.

  • The name says what the entity is. Kind of signing, paint colour, dash cadence, road stud, material, marking code and action — all in a single name.
  • No command types a layer. Each command asks the catalogue for the layer of the role it is drawing; the catalogue returns the name, colour and linetype, and creates the layer if it does not exist.
  • The style intervenes, the command does not change. Renaming, recolouring and prefixing layers is the style's decision; the command goes on asking for the same role.
  • Cadence becomes a linetype. A 2x4 in the layer name produces a linetype with a 2-unit mark and a 4-unit gap, generated inside the drawing on the spot, with no .lin file.
  • The colour tells the action. Install, keep, remove and renew each have their own colour, resolved from the layer name itself.
  • The names speak the country's language. The same layer comes out ROAD_MARK_WH_ZPA in English and SENA_HOR_BL_ZPA in Spanish — and is still the same role inside.
  • A standard, not a convention. Every layer CapCad creates comes from the same catalogue, so two commands never spell the same layer two ways.

The grammar

There are two signing families, and only two:

Family What it is for
SINA_HOR Horizontal signing — pavement markings
SINA_VERT Vertical signing — signs

Layers of other subjects (guardrails, barriers, items, GIS, sheet, alignment, analytics) have names of their own and do not enter this grammar: DEFENSA_IMP, BARREIRA_ALTA_DUPLA, CAPCAD_ITEM_REM, GIS_HIGHWAY_, FORMATO, VIEWPORT.

Horizontal

SINA_HOR _ <colour> [_ <cadence>[<device>]] [_ <material>] [_ <code>] [_ <action>]

The fields, in the order they appear:

Field Values Meaning
colour BR white · AM yellow · PR black · VM red · AZ blue · VD green · LA orange The paint colour
cadence 2x4, 30x20, 4.5x6 Mark × gap, in drawing units. With no cadence the line is continuous
device TA stud · TO big stud · BA delineator · CO cone · SC supercone Stuck on the end of the cadence (2x4TA) or standing alone (TA8 = studs every 8, with no painted line). CTA4 = a continuous line with studs every 4. A trailing E or D gives the side: left or right
material the token containing +, such as ACRÍLICO+TACHA The material of the paint and of the device
code D1013.1, LFO3, LMS2, LBO, ZPA The marking's code in the manual of the active country profile. A hyphen in the norm's code is dropped in the layer name: LFO-4 becomes LFO4
action _REM remove · _MAN keep · _REV renew Installing is the absence of a suffix

Vertical

SINA_VERT _ <action>

Actions used: IMP install, MAN keep, REM remove, SUB replace, RMJ and REMANEJAR relocate, REMANEJADA already relocated. Any other complement is accepted and written in upper case (SINA_VERT_J).

Real names, decoded

The names below are shown in the English spelling, the one written to the drawing in an English session.

Layer Reading What it holds
ROAD_MARK_WH_ZPA horizontal · white · code ZPA (hatched area) White chevron hatching
ROAD_MARK_BK_FTP horizontal · black · code FTP (pedestrian crossing) The black contrast backing of a crossing
ROAD_MARK_WH_4x2_D1013.1 horizontal · white · mark 4 / gap 2 · diagram 1013.1 A warning line at the UK cadence
ROAD_MARK_WH_2x4TA_LMS2 horizontal · white · mark 2 / gap 4 · with studs · code LMS2 A broken lane line with studs
ROAD_MARK_YE_TA8 horizontal · yellow · studs every 8, no painted line Studs along a yellow centre line
ROAD_MARK_WH_TA8E_LBO horizontal · white · studs every 8 on the left · code LBO (edge line) Studs on the left edge
ROAD_MARK_YE_ZPA_REMOVE horizontal · yellow · ZPA · remove A yellow chevron area to be removed
ROAD_SIGN_NEW vertical · install Signs to be installed
ROAD_SIGN_REMOVE vertical · remove Signs to be removed
ROAD_SIGN_RELOCATED vertical · already relocated Signs in their new position, after relocation

Characters the CAD will not take in a layer name (< > / \ " : ; ? * | , = and the backtick) are stripped automatically. Accented letters are kept: SEMAFÓRICA is a valid name.

The layer catalogue

The catalogue is the only place that answers the question "which layer — name, colour, linetype, lineweight, transparency, plot — does this drawing role use?". There are nearly 190 named roles, grouped by subject: horizontal and vertical signing, items, annotation, profile, analytics, GIS, alignment, guardrail, barrier, sheet, tactile.

A command never writes "SINA_HOR_BR_ZPA": it asks the catalogue for the matching role and gets the resolved specification back.

What the catalogue does with the request

  1. Cleans the name of invalid characters.
  2. Applies the style's layer domains: the first rule whose pattern matches the role changes the colour (colour only).
  3. Applies the style's explicit entry, if there is one for that role: it changes the name, the colour and the linetype. An explicit user rename beats everything that follows.
  4. Translates the name into the language of the active profile — unless the user renamed it explicitly.
  5. Glues on the style's layer prefix.

The role (the internal variable) never changes in any of those steps: only the name that goes to the drawing. That is what lets you rename layers freely without commands losing track of one another.

Create, or only name

Asking for the layer is not the same as creating it. Every request says what it wants:

Request Effect
Do not create Only resolve the name. The drawing is untouched — the mode used for listing and checking
Create without redefining Create the layer if it does not exist; if it does exist, thaw and turn it on, but leave colour, linetype and plot alone
Create and redefine Create or update: colour, linetype, lineweight, transparency, description, plot and lock

The distinction is deliberate: a layer that already exists in the drawing has almost always been adjusted by somebody, and overwriting it unasked would throw that work away. On the other hand, a frozen or switched-off layer is always thawed and turned on before it receives entities — drawing on an invisible layer is the classic origin of "the command did nothing".

Colours

The colour of a signing layer is resolved from the name itself, combining the paint colour with the action:

Pattern Colour (ACI)
white install (no suffix, or _IMP) 255
white keep 253
white remove 10
white renew 3
yellow install 40
yellow keep 253
yellow remove 6
yellow renew 4
black 250
red 1
blue 5
orange 30
green 3

On the vertical side, the colour comes from the action:

Layer (canonical) Colour (ACI)
SINA_VERT_IMP 5 blue
SINA_VERT_MAN 2 yellow
SINA_VERT_REM 1 red
SINA_VERT_SUB 4 cyan
SINA_VERT_RMJ / _REMANEJAR 181
SINA_VERT_REMANEJADA 30

A style can override any of those colours, by rule (layer domain) or by explicit entry. When nothing resolves, the layer is born colour 7.

Linetypes generated from the cadence

The cadence written in the layer name is not decorative: it becomes a linetype.

When a layer with cadence WxH is created, CapCad registers in the drawing a linetype named exactly like the token — 30x20, 2x4, 4.5x6 — whose pattern is a mark of W and a gap of H, at the real proportions. No .lin file is involved on that path: the pattern is created inside the drawing.

Before generating, CapCad looks the name up in the installed linetype files — its own capcad.lin first, then the agency .lin shipped for the active profile, then the CAD's acad.lin; it only synthesises when none of them has the pattern.

Two exceptions:

  • Device cadences (TA8, 2x4TA, CTA4) need a symbol embedded in the linetype and are not generated in this version: those layers stay Continuous, and the device is drawn as blocks.
  • An x with a zero mark or gap (5x0, 0x5) is not a valid cadence.

The linetype manager (CAPCAD_LINETYPE_MANAGER) also lets you define a new dash pattern from a token: it appends the pattern to the UserCreatedLinetypes.lin file of the support folder. Only simple dashed patterns (of the 5x3 kind) can be created there.

The names change with the country

The internal canonical name is always the Portuguese one (SINA_HOR_* / SINA_VERT_*). The name written to the drawing follows the language of the active country profile — which is one of three: Portuguese (Brazil), Spanish (Latin America) and English (everyone else).

Element Canonical English Spanish
horizontal family SINA_HOR ROAD_MARK SENA_HOR
vertical family SINA_VERT ROAD_SIGN SENA_VERT
white BR WH BL
yellow AM YE AM
black PR BK NG
red VM RD RJ
blue AZ BL AZ
green VD GR VD
orange LA OR NA
install / keep / remove IMP / MAN / REM NEW / KEEP / REMOVE unchanged
relocate / relocated RMJ / REMANEJADA RELOCATE / RELOCATED unchanged
replace / renew SUB / REV REPLACE / RENEW unchanged

So the same role produces:

Canonical English Spanish
SINA_HOR_BR_ZPA_REM ROAD_MARK_WH_ZPA_REMOVE SENA_HOR_BL_ZPA_REM
SINA_HOR_BR_2x4TA_LMS2 ROAD_MARK_WH_2x4TA_LMS2 SENA_HOR_BL_2x4TA_LMS2
SINA_VERT_IMP ROAD_SIGN_NEW SENA_VERT_IMP

What is never translated: the marking codes (D1013.1, LFO3, ZPA, LBO), the cadences (2x4), the materials, and layers outside the two signing families. Spanish translates the family and the colours, but keeps the action codes in Portuguese.

The translation is reversible: when reading a drawing, CapCad converts any spelling back to the canonical one, so a drawing made in English is understood normally by a CapCad running in Portuguese. The ambiguous BL — white in Spanish, blue in English — is resolved by the family in the name.

Why commands never type a layer by hand

Because a literal name bypasses the whole mechanism above. The entity ends up on a layer the active style never created, never renamed, never coloured and never prefixed — and the defect is invisible until somebody opens the drawing under another style, or in another country.

For you that means a practical guarantee: changing the style or the country really does change every drawing that follows.

There are documented exceptions — a few commands let you type a layer name, and in that case the name stands as typed.

Layer tools

Command What it is for
CAPCAD_LAYER_ASSISTANT Drawing standards: lists every catalogue role with its name, description, linetype, colour and plot setting as resolved by the active style, with a filter box. Listing does not touch the drawing; creating is an explicit button, with a redefine if different option
CAPCAD_LAYER_MANAGER Layer tools: erase the contents of the switched-off and/or frozen layers (unlocking whatever is locked), copy the layer of a selected entity to the clipboard, and convert layers in bulk in the old=new form
CAPCAD_LINETYPE_MANAGER Manage the linetypes and define a new dash pattern from a cadence token
QA: compare with DWG (style editor) Compares the style's layers with the drawing's and reports missing, extra and differences of colour, linetype and plot

Notes

  • Auxiliary layers do not plot. Several catalogue roles are born with plotting off — the auxiliary edge lines, the quantity-take-off areas, the viewports, the sheet articulation layers in model space.
  • Transparency is part of the role. Analysis and template layers are born with transparency (50 % or 65 %, for instance) so they do not hide the drawing underneath.
  • The prefix belongs to the style, not to the country. Changing country changes the spelling of the names; changing style changes the prefix, the aliases and the colours.

See also