Marking Strip by Code

Plans: Free CAD Tools Geo Tools Urban Highways Aero
Command: CAPCAD_MARKING_STRIP_CONTRAN, CAPCAD_LINEARSET Shortcut: DF Updated 2026-11-19 Also in: Español Português
Ask about this page
Answers from this page only. General assistant
Commands CAPCAD_MARKING_STRIP_CONTRAN (the form) · CAPCAD_LINEARSET (the line-definition editor, in the last section)
Shortcut DF for CAPCAD_MARKING_STRIP_CONTRAN, only in the Portuguese acad.pgp — the alias does not exist in the English or Spanish alias files, so in an English session you type the full command name or use the ribbon button. CAPCAD_LINEARSET has no shortcut
Ribbon CapCad tab › Road Marking panel › Faixas split button › Desenha Faixa CONTRAN [DF]. CAPCAD_LINEARSET has no ribbon button in any menu
Category Horizontal (CAPCAD_MARKING_STRIP_CONTRAN) · none (CAPCAD_LINEARSET)
Forms RoadStripForm — Faixas CONTRAN, modeless, one instance per session · LinearSetForm — Linear Set — Line Definition, modal
Hosts AutoCAD, BricsCAD, GstarCAD, ZWCAD and ARES Commander, for both commands
Neighbouring commands Marking Strip draws the same marking by picking a definition out of a library instead of describing it field by field; the type-section composer applies a whole cross-section at once; -CAPCAD_MARKING_STRIP_CONTRAN is the scriptable version

You do not pick a layer: you describe the marking. Code, colour, cadence, width, device and material — the layer name comes out ready, with the right colour and linetype.

  • The norm catalogue is built in. Every code the active country profile's norm defines, each with the colours, cadences and widths that norm allows.
  • The layer writes itself. SINA_HOR_AM_4x8_LFO2 comes out of the choices, and it is created with the colour of the colour token and a linetype generated to the cadence.
  • A preview of what you will get. The marking is drawn under the list with its real dashes, devices, colours and width, and follows every choice.
  • Three ways to give the base. A stretch of the alignment, the entities you have already selected, or two points with the reference at the edge or on the centre.
  • Copy properties from a marking already drawn. One click on an existing marking reads its layer back into the form.
  • Each code remembers its settings. Going back to a code brings back the cadence, devices, width and materials you last used with it.
  • The action comes with it. Implant, keep, remove or refurbish enter the layer name, and the quantity takeoff sees them.

What it does

CAPCAD_MARKING_STRIP_CONTRAN opens a form on which a longitudinal or transverse marking is described by its norm attributes:

Attribute Values
Code The marking codes of the active country profile's norm
Colour yellow, white, black, red, green, blue, orange
Cadence continuous, 0.5x1, 1x1, 1x2, 1x3, 2x2, 2x4, 2x6, 3x6, 3x9, 4x4, 4x8, 4x12
Width 0.10, 0.15, 0.20 m (or blank)
Device none, stud, big stud, delineator, cone, supercone
Material the paint and device materials of the active paradigm

Out of those choices comes the layer name, assembled in the SINA_HOR grammar described in Layers and the layer catalogue: SINA_HOR_<colour token>_<cadence><device>_<material>_<code>. It is a consequence of the choices, not a field.

Then you give the geometric base — a stretch of alignment, the selected entities, or two points — and the command draws the marking as a polyline of constant width on the resolved layer, creating it with the colour of the colour token and a linetype generated from the cadence.

This command is bound to one norm. The code list, the descriptions under the preview and the material lists all come from the Brazilian catalogue. The codes and their descriptions are listed on the Portuguese edition of this page. On any other country profile, use Marking Strip instead: it draws the same geometry from a parametric library that ships definitions for fifteen countries.

Three constructions, three results

The chosen code decides how many lines come off each base:

  • Double-line codes — the base is offset to both sides by half the internal distance for double lines (Opções tab), and the two parallels are drawn. Outside the newer paradigm, the second layer, where there is one, becomes the central stud line instead of the second parallel.
  • Continuous-plus-broken codes — continuous on one side, broken on the other: also two parallels, each on its own layer.
  • Every other code — a single line, on the resolved layer.

Workflow

  1. Run CAPCAD_MARKING_STRIP_CONTRAN. The form opens modeless, beside the drawing.
  2. On the Faixas tab, pick the code in the list on the left (type part of a code or description in the box above it to filter the list). The combos in the middle repopulate with the colours, cadences, widths and device cadences that code allows, and the preview changes. The values you used last time for that code come back.
  3. Adjust colour, cadence, width, device and material.
  4. Pick the action in the lower left frame: Implantar, Manter, Remover or Revitalizar (implant, keep, remove, refurbish).
  5. Pick the input mode on the inner Modo and Outros tabs.
  6. Click the main button (its caption follows the mode, for example Selecionar e converter, "select and convert"). The form hides, the command asks for whatever the mode requires, draws, and the form returns with the result in its status bar.
  7. Not right? Reset erases what that click drew, Recriar draws it again with the form's current values on the same geometry, and Update does both.

The form stays open for the next marking: changing two fields and clicking again is the normal working cycle.

The form

This form has no English captions: it is shown in Portuguese in every language. The captions below are quoted in Portuguese as the software shows them, with an English gloss. The orange circles number the controls of each image: the numbering restarts per image, exactly as on the Portuguese edition, so the two pages stay comparable.

Marking strip form, Faixas tab with the input mode

The Faixas tab: the catalogue on the left, the attributes in the middle, the input modes on the right and, below, the preview, the action, the post-creation buttons and the extras.

Catalogue and marking attributes

# Control What it does
1 (filter) Filters the code list (10) as you type, on the code and the description, ignoring case, accents and hyphens.
10 (code list) The norm code. Picking one repopulates every combo beside it and the preview, and brings back the cadence, devices, device cadence, width and materials last used with that code.
6 Cadência linha (line cadence) Mark and gap, in metres (4x8 = 4 m mark, 8 m gap). contínua for a solid line. This is what becomes the layer's linetype. A typed number x number value not on the list is accepted and its linetype is created.
2 ? Explains that a cadence typed in the number x number pattern is created automatically.
7 Valores típicos (typical values) Ticked (the default), it restricts Cadência linha and Dispositivos cadência to that code's typical set; unticked, it opens the full list.
8 Dispositivos (devices) Stud, big stud, delineator, cone or supercone, or none. It enters the layer name and the linetype.
9 Dispositivos cadência (device cadence) The device spacing, in metres.
26 Dispositivos posição (device position) esq, dir, ambas or centro (left, right, both, centre).
27 Cor (colour) The marking colour. Disabled when the code allows only one colour.
29 Largura faixa (strip width) The polyline width, in metres: 0.10, 0.15 or 0.20, or blank for zero width. 28 explains that the field is optional.
31 Material pintura (paint material) The paint material, which enters the layer name. The list changes with the active paradigm; a typed value is accepted and remembered in the list.
32 × Removes the selected paint material from the remembered list.
33 Material tacha (device material) The device material, under the same rules. 30 explains that any typed value is accepted and appears in the report.
34 × Removes the selected device material from the remembered list.

The layer name assembled from these choices is not shown on the form; it is described in How the choices become a layer below.

Under the materials sits the preview: the marking drawn on a piece of road with its real dashes, devices, colours, width and black contrast, following every choice, with zoom and pan. Under it, the description of the chosen code. For the codes that are drawn by another command (crossings, speed-reduction lines, the yellow box, chevrons, the checker area, the cycle lane, bus bays and parking), the description says so and a click on it (or on the picture) opens that command.

Input modes, inner Modo tab

# Control What it does
11 Extrair segmento eixo (extract alignment segment) The base is a stretch of an alignment between two clicked points (Ponto 1, Ponto 2).
12 Eixo ativo (active alignment) Ticked, the project's alignment is used and only the two points are asked for; with no project alignment a message points at the Alignment Manager. Unticked, the command asks for the alignment entity first.
13 Insere marca (insert mark) Also inserts the mark of the marking (its code and cadence) at the start of the extracted stretch.
14 Total Uses the whole alignment instead of the stretch between two points; the two points are not asked for.
15 Offset Offset of the extracted base, in metres. Positive shifts to the left of the stationing direction.
16–19 x · ± · ℓ · a eixo Helpers for the offset field: clear it, flip the sign, measure a distance from a clicked point (ℓ), or the perpendicular distance from a clicked point to the active alignment (a eixo).
20 LBO dupla (double edge line) Draws the two edge lines (LBO) around the extracted stretch; with an LF or LM code, the edge lines come in addition to the marking.
21 Modo contínuo (continuous mode) Keeps asking for the next stretch, with the form hidden, until you cancel.
22 Converter entidades selecionadas (convert selected entities) The default mode. Uses the entities already selected (or asks for a selection) and converts each curve into the described marking; the originals are erased once the new marking is drawn.
23 Insere marca (insert mark) The same as 13, for this mode.
24 Quebrar linha a (break line at) Asks for an open curve; the piece of the length in 25 from the clicked end becomes the marking, and the rest stays on its own layer.
25 (break distance) The value used by 24. Default 15.

Actions, post-creation and extras

# Control What it does
3 Update Erases what the last click drew and draws it again with the current values.
4 Reset Erases what the last click drew: the marking, its edges and its mark (not the black contrast).
5 Recriar (recreate) Draws again on the last geometry with the form's current values.
35 Selecionar e converter (main button) Runs. Its caption follows the mode (Desenhar linha 2 pontos on the Outros tab, for example). It validates the choices, hides the form, asks for the base according to the mode, creates the layer and draws.
36 (cube) Opens the 3D assistant (CAPCAD_3D_ASSISTANT).
37 Emendar a existente se possível (join to the existing one if possible) Joins each drawn marking to an existing one on the same layer whose vertices coincide with it. 38 explains it.
39 Copiar propriedades (copy properties) Asks for a marking already drawn, reads its layer (and the polyline's constant width) and fills in the list, the colour, the cadence, the device, the device cadence, the position and the width. If the layer does not match a catalogue marking, it warns in the status bar.
40 Implantar (implant) The default action: no suffix is added to the layer name.
41 Mudar ação (change action) Applies the action chosen in 40, 42–44 to the road-marking layers of the selected entities (or of a selection it asks for) and leaves them selected.
42 Manter (keep) Adds _MAN to the layer name.
43 Remover (remove) Adds _REM.
44 Revitalizar (refurbish) Adds _REV.
45 Atalhos… (shortcuts…) Opens the action panel (CAPCAD_ACTION_PANEL). 46 explains how to add the road-marking actions to the keyboard shortcuts.
47 Reverse Reverses the direction of what the last click drew.
48 Inverter LFO4 (flip the continuous side) Swaps the two lines of the last continuous-plus-broken marking drawn, and flips its mark.
49 Preto contraste (black contrast) Also draws the black contrast backing under the marking.
50 Largura (contrast width) The width of the contrast backing. Default 0.3.
51 Cadenciar (cadence the contrast) Ticked, the contrast follows the marking's cadence; unticked, it is continuous. 52 explains the choice.
53 Marca central (central mark) Also writes the code and cadence of the marking as a text on the drawn line.
54 Calcular cadências a partir da Velocidade Diretriz (compute cadences from the design speed) The cadence of each stretch comes from the design speed in the project's criteria instead of the Cadência linha box.
55 Tutorial In a Portuguese session, opens the video in the browser; in any other language it shows "Coming soon."

Input modes, inner Outros tab

Marking strip form, inner Outros tab

The remaining input modes. Circles 1–10 and 22–51 in this image mark the same controls already described above (shifted by four from 26 on); the numbering restarts in each image.

# Control What it does
11 Criar … divisões intermediárias entre 2 entidades (create intermediate divisions between 2 entities) Asks for two geometries and draws the marking on the intermediate curves between them.
12 (number of divisions) The value used by 11. Default 3.
13 Ler propriedades em eixo (read properties from the alignment) Asks for two points on the alignment and draws one lane line at every boundary between two lanes of the alignment's road width, where the lanes really are, between the two stations.
14 Apenas criar e ativar layer (only create and activate the layer) Creates the resolved layer and makes it current, drawing nothing.
15 Linha 2 pontos (2-point line) The command asks for two points (Ponto 1, bordo ESQUERDO and Ponto 2, bordo DIREITO, point 1 LEFT edge, point 2 RIGHT edge) and draws the marking over the line between them.
16 Inf. The clicked line is the lower edge of the marking: it is shifted half a width to the right of the direction from the first point to the second.
17 Centro The clicked line is the centre of the marking, with no shift. This is the default.
18 Sup. The clicked line is the upper edge: shifted half a width to the left of that direction.
19 2 Bordos e ponto transversal (2 edges and a transverse point) Asks for the two edges and a construction reference point, and draws the marking across the road at that point.
20 Eixo e ponto, ext = (alignment and point, extent =) Draws the marking across the alignment at a clicked point, with the length in 21.
21 (transverse extent) The value used by 20. Default 15.

Modificar tab

Marking strip form, Modificar tab

Converts the properties and materials of markings already drawn, without redrawing them. The combos open on <manter> (keep), and the tab's values are not remembered.

# Control What it does
1 Dispositivos (devices) The new device, or <manter> to leave it alone. 2 explains that a blank keeps the same value.
3 Cadência (cadence) The new cadence, or <manter>.
4 Largura (width) The new width, or <manter>. A typed width is accepted.
5 Converter propriedades faixas existentes (convert properties of existing markings) Rewrites the layer of every selected road-marking entity with the three values above, keeping what reads <manter>. The action suffix is not changed.
6 Material pintura (paint material) The new paint material, or <manter>.
7 Material tacha (device material) The new device material, or <manter>.
8 Converter materiais faixas existentes (convert materials of existing markings) Writes the two materials above into the layer name of every selected road-marking entity.

Utilidades tab

Marking strip form, Utilidades tab

Shortcuts to neighbouring commands and tools.

# Control What it does
1 Linetypes Explorer… Runs CAPCAD_LINETYPE_MANAGER; see Linetypes.
2 Trim área horizontal (trim horizontal area) Runs CAPCAD_AREA_TRIM_MARKING.
3 Compor layer faixa (compose the marking layer) Opens a small layer composer window.
4 Limpa via (clear the carriageway) Runs CAPCAD_ALIGNMENT_TRIM_BREAK; see Drawing on the alignment.
5 Anotações (annotations) Runs CAPCAD_LABEL.
6 Adicionar contraste (add contrast) Runs CAPCAD_MARKING_CONTRAST_BACKING; see Contrast painting.
7 Unir linhas separadas LBO e tachas (join separate edge lines and studs) Asks for an edge line and its stud line, in pairs, until the selection is empty; the edge line is redrawn on the side-stud layer and both originals are erased.
8 Link manuais Contran Opens the reference manual of the norm in the browser.
9 Link manual Horizontal Opens the road-marking manual in the browser.
10 Carrega Exemplo (load sample) Opens a new drawing with a sample geometry, zoomed to it, with the curve layer current.

Opções tab

Marking strip form, Opções tab

# Control What it does
1 Distância interna duplas (internal distance for double lines) The total distance between the two lines of a double construction, in metres. The command offsets the base by half of it to each side. Default 0.25.
2 Redefinir layers (redefine layers) Ticked, it reapplies the colour and linetype to a layer that already exists; unticked, an existing layer is only created-if-missing and switched on, with its appearance untouched.
3–5 0.00 · 0.10 · 0.30 Stud setback of the edge-line stud layers: 0.00 gives every such layer the linetype with the studs against the line, 0.10 and 0.30 the linetypes with the studs set back; the choice is remembered.
6–7 Referência criação / Sentido · Pontos clicados Decide which way a continuous-plus-broken construction is read: along the base's direction or along the clicked points.
8–9 Lado proibição / Direita · Esquerda The side on which the continuous line (the no-overtaking side) falls.

How the choices become a layer

The name comes out of the SINA_HOR grammar in this order:

SINA_HOR _ <colour token> _ <cadence><device code> _ <material> _ <CODE> [_ <action>]
  • The colour token is the two-letter one: AM yellow, BR white, PR black, and so on.
  • The cadence is lower-case when it contains x (4x8), and the device code is glued to it (4x8TA4).
  • The code loses its hyphen: LFO-3 becomes LFO3.
  • The action appends _MAN, _REM or _REV; Implantar appends nothing.

The layer is then created with the colour resolved from the token by the active style's colour rules, and with a linetype generated to fit the cadence — mark and gap in their real proportion, the same mechanism described in Linetypes. None of this is written by hand by the command.

Remembered between sessions

For each code, the cadence, devices, device cadence (for the codes that have one), width and the two materials you last used are kept and come back when you pick the code again. The paint and device materials you typed are kept in their lists until you remove them (×), and the stud setback chosen on the Opções tab is kept too. The Modificar tab is not remembered.

The form itself is a per-session singleton: closing and reopening it brings back the same window, with whatever was filled in.

Notes

  • The action suffix accumulates on a multi-segment polyline. Drawing a double line over a curve with more than one element reapplies the suffix per segment: the second lands on ..._REM_REM, the third on ..._REM_REM_REM. For a marking with an action other than Implantar, prefer a single-segment base.
  • Devices are not drawn as blocks. Stud, big stud, delineator, cone and supercone enter the layer name and the linetype; no block is inserted. To insert devices, see the road library.
  • The layer name follows the active style. The name is assembled in the SINA_HOR grammar and then resolved through the active style, which may rename it. When the style has no entry for a line of the composed layer, a red note under the materials says so and the line is drawn on the generic name.
  • The current layer is kept. The command puts the current layer back after drawing; only Apenas criar e ativar layer leaves the new layer current.
  • The DF alias exists only in the Portuguese alias file. It is not defined in the English or Spanish ones; use the full command name or the ribbon button.
  • For the same marking from a ready-made definition, use Marking Strip, which brings a library of parametric definitions for fifteen countries instead of field-by-field entry.

CAPCAD_LINEARSET — the line-definition editor

CAPCAD_LINEARSET is the other route to the same result, and the reason it sits on this page: it is the reusable-line-definition approach, meant to replace the field-by-field form above. Instead of combos, you write — or load from a file — the definition as text, and the command draws its lines over a base curve.

It has no ribbon button and no shortcut: only the command name.

Linear Set — Line Definition

# Control What it does
1 (Type / Layer / Offset / Width grid) Read-only. Shows, live, the statements the text below has produced.
2 Definition (dctext) The definition text. It is the source of truth: the grid and the summary line are recomputed on every keystroke.
3 Add statement Appends a model line f, LAYER, 0, 0.10 to the text, for you to edit.
4 Draw on alignment ▶ Closes the editor and moves to drawing: the command asks for the base line and draws.
5 Load… Reads a definition from a .dc or .txt file.
6 Save… Writes the definition to a .dc or .txt file.

Between the grid and the text, a summary line says how many statements were read, whether the definition is point or linear, how many variables it declares and what its description is.

After Draw on alignment ▶, the command asks Select the base line: — any curve will do, it does not have to be the project alignment — and draws each strip statement (f) as an offset polyline, on the layer the statement names, creating the layer if it is missing. Block definitions declared in the definition are loaded into the drawing.

What it does not do: distribute signs and blocks along the path. That is the job of CAPCAD_ROAD_SET and its composer, which also explain the dctext grammar in detail — the same grammar summarised in Marking Strip. If what you want is to apply a whole cross-section, use that command; CAPCAD_LINEARSET is for writing and testing a line definition quickly.

Two observations:

  • Cancelling the editor cancels the command. Only the Draw on alignment ▶ button leads to the drawing step; closing the window with the X ends without drawing.
  • The editor's own captions are in English, and so are its prompts (Select the base line:, No statements to draw.).

See also