CapStyle Editor

Plans: Free · partial CAD Tools · partial Geo Tools · partial Urban · partial Highways Aero · partial On the plans marked partial only part of the commands on this page are available. Compare plans
Command: CAPCAD_STYLE_EDITOR, -CAPCAD_STYLE_SET, -CAPCAD_STYLE_MIGRATE, CAPCAD_STYLE_TOOLS Updated 2026-11-19 Also in: Español Português
Ask about this page
Answers from this page only. General assistant
Command CAPCAD_STYLE_EDITOR
Shortcut none
Ribbon CapCad tab › Manage panel › Projeto split button › Estilos Editor
Category Manage: style
Form MainFormSingle, CapStyle Editor (modeless, 15 pages)
Hosts AutoCAD, BricsCAD, GstarCAD, ZWCAD, ARES Commander
Command-line commands -CAPCAD_STYLE_SET (register a style in the drawing), -CAPCAD_STYLE_MIGRATE (migrate the drawing's layers)
Also sets the style CAPCAD_PROJECT_MANAGER, Main tab, Estilo field
Style tools CAPCAD_STYLE_TOOLS (Estilos Explorer & Tools): the Styles window, see The style tools

A style is the graphic standard of the whole deliverable, and this is where it is opened, edited and applied. Layers, colours, the look of the signs, sheet formats, reports, drawn tables, labels and property sets in a single file, which you can take ready made from the cloud, adjust and apply to the drawing without leaving the CAD.

  • A style library in the cloud. CapCad's public styles and those of your own login, with each style's logo, filterable by name and, in CapCad's cloud, by agencies or CapCad's own styles.
  • Pages for the whole standard. Layers, layer domains, the appearance and attributes of signs, sheet formats, reports with their summaries, presets and drawn tables, labels, property sets, the 3D defaults, plus a raw JSON page for any field the interface does not show.
  • Errors where they are. Check runs every save-time check without saving: each page with a problem turns red in the side list and the field at fault is framed in red.
  • Applying is not migrating. Apply to the drawing registers the style in the drawing and counts from the next command onwards; Update DWG relabels what is already drawn.
  • Migration between standards. Tell CapCad which style the drawing was made to and it renames the drawing's layers to the matching names of the active style, role by role, and brings the signs along.
  • Property sets from the customer's table. The AI button reads a spreadsheet or pasted text and proposes the sets and their properties, for you to review before they enter the style.

What it does

CAPCAD_STYLE_EDITOR opens the CapStyle Editor, the window where a .capstyle file is created, opened, edited, saved and pushed to the drawing. It is modeless: the drawing stays live while it is open, and calling the command again just brings the existing window forward instead of opening a second one.

The pages are listed in a side list on the left, one row per page with its icon, in alphabetical order with Info at the top; the selected page is in bold on a light blue background. Clearing Side tabs (130), at the top right, puts the pages back as tabs along the top.

The Info page is the explorer: beyond the style's name, comments and logo, it shows the online style library with a selector between CapCad's public cloud and your own login's, a filter by name and the buttons that load the chosen style into the editor or apply it straight to the drawing. It is also where the base style for the layer migration lives.

The other pages edit the model. None of them touches the disk: the changes sit in an in-memory model (the window title gains a *) until you use Save or Save as….

On the drawing's side there are two different actions, and they are worth not confusing:

Action Command fired What it does
Apply to the drawing -CAPCAD_STYLE_SET <path or name> Registers the style in the drawing. Everything drawn from then on comes out to the new standard; what already exists does not move.
Update DWG save → apply → -CAPCAD_STYLE_MIGRATE <base style> Relabels the existing drawing: each CapCad layer is renamed or merged into the matching layer of the active style, and the signs take the style's attributes and representation.

Workflow

Take a ready-made style and apply it

  1. Run CAPCAD_STYLE_EDITOR.
  2. On the Info page, choose the cloud, CapCad (public styles) or User's (your login's), and filter the list (5) if it is long. In CapCad's cloud, All, Agencies and CapCad (135 to 137) narrow it further.
  3. Select the style and click Load in the editor (3). The style enters the editor tied to the cloud it came from: Save (16) writes it back there and Save as… (17) keeps a copy in a file or under another name.
  4. To simply register the style in the drawing without editing it, select it and click Apply to the drawing (11).

Edit and apply a local style

  1. Open… (14) and choose the .capstyle. If the drawing already references a style file, the editor asks first whether that is the one you want to open.
  2. Walk the pages and adjust what you need. The title gains a * while there is an unsaved change.
  3. Click Check (131) to see the problems before saving, or go straight to Save (16): the editor runs the same checks and refuses the write while any page is red.
  4. After saving, the editor asks whether you want to apply the style to the current drawing. Answering yes (or clicking Apply to the drawing, 21) registers the style in the dwg.

Bring a drawing from another standard into yours

  1. Leave the destination style active on the project (the Project Manager's Main tab, or Apply to the drawing here).
  2. On the Info page, set Base style for layer migration (9) to the standard the drawing was made to: a cloud name or, through the … button (10), a .capstyle file. Selecting a style in the online list also fills this field.
  3. Before touching anything, go to the Layers page and run QA: compare with DWG (54) to see what differs.
  4. Click Update DWG (12 or 22). The editor saves, applies and only then migrates.

The form

The numbers are the same in every picture on this page. Every page shares the bottom bar (14 to 22, 131, 132) and the Side tabs box (130). The pictures were taken with no style open, so most of the bottom bar is disabled.

CapStyle Editor, Info page

The Info page: the style's name, comments and logo, the online library with its two selectors, and the current drawing's row.

CapStyle Editor, General page

The General page: three fields; the style's other general items (units, scales, sheets, disciplines) are on the Formats page.

CapStyle Editor, Vertical appearance page

Vertical appearance: the block styles per action, the attribute height and font, the position of the sign when replacing, the free action → style grid, the sign border and the MAs frame.

CapStyle Editor, Vertical attributes page

Vertical attributes: the two lists (available / defined on the sign) with each attribute's role and tag, the order, and the point from which attributes become invisible.

CapStyle Editor, Layers page

Layers: the style's layer grid, the filter, the prefix and the QA check against the drawing.

CapStyle Editor, Layers: domains page

Layers: domains: rules by pattern, priority from top to bottom.

CapStyle Editor, Formats page

Formats: at the top, the format list, the selected format and the title block attributes; below, the Sheet Set defaults and the disciplines, with the units and scale under them (scroll the page to reach them).

CapStyle Editor, Reports page

Reports: per report, the available and the applied columns, the Excel template and the first data row.

CapStyle Editor, Drawn table page

Drawn table: how a report looks when it is drawn into the drawing.

CapStyle Editor, Reports: summaries page

Reports: summaries: the summary tables the style computes from a listing.

CapStyle Editor, Reports: presets page

Reports: presets: the report presets stored in the style.

CapStyle Editor, Property Sets page

Property Sets: the style's sets, their properties and the buttons that talk to the drawing.

CapStyle Editor, Labels page

Labels: the attribute stack of each label kind.

CapStyle Editor, 3D page

3D: the style's starting colour for the 3D Exporter.

CapStyle Editor, Raw JSON page

Raw JSON: the whole model as text and as a tree, read-only until editing is enabled.

Common to every page: the bottom bar

# Control What it does
14 Open… Opens a .capstyle (or .json). If there are unsaved changes, it asks before discarding them. If the active drawing references a style file different from the one open, the editor shows the path and asks whether that is the one you want to open, with a third option to go to the file picker.
15 New Creates a blank style, with no file.
16 Save Pulls the changes from every page into the model and runs every check; only then does it write, where the style came from: the file, or back into the cloud it was opened from. A style from CapCad's public cloud is saved as a copy in your own cloud, under a name you confirm. If the style has no origin yet, this becomes a Save as…. Every item the style was loaded with is written back, including the ones no page shows. After writing, it asks whether to apply the style to the drawing, unless the saved style already is the drawing's, in which case it is reapplied without asking.
17 Save as… Chooses the destination: a .capstyle file or your own cloud. The destination becomes the style's origin: Save writes there from then on. The suggested name is the style's. The checks run before the dialog, so as not to ask for a destination that could not be written.
131 Check Runs the save-time checks without saving. Each page with a problem shows its name in red in the side list, the first red page opens, the field or layer cell at fault is framed in red (its tooltip gives the reason) and the status line shows the page's first error, with the others in its tooltip. With nothing wrong, the status line reads No errors.
132 Copy… Copies a style in one step without opening it: From a file or a cloud style, To a file or your own cloud under a new name. The style is copied as it is; only its name follows the new one. It works with no style open.
19 Revert Reloads the style from its origin (file or cloud), discarding everything unsaved. It only works with a style that has an origin.
20 Status Status line: what was loaded or saved, the result of the layer QA, the check errors (in red).
21 Apply to the drawing Registers the saved style in the active drawing (fires -CAPCAD_STYLE_SET with the file path or the cloud name). If there are pending changes or the style was never saved, it offers to save first, and the save itself asks whether to apply; otherwise it confirms "Load style 'X' in \<drawing>?". It redraws nothing: it counts from the next command onwards.
22 Update DWG The full sequence: save → apply → migrate. If the save is cancelled, or the application refused, the migration does not run. The migration uses the Base style (9) when it is filled in; otherwise the file just saved.
130 Side tabs Ticked (the default), the pages are listed on the left; cleared, they are tabs along the top. Remembered between sessions.

With no style open, only Open…, New and Copy… are enabled. Outside a CAD, the buttons that touch the drawing (21, 22, the layer QA, Test in CAD, Preview, Update drawing labels and the pset buttons) are disabled.

Info

# Control What it does
1 Style name The style's name. Mandatory: without it the write is refused and the field turns pink with "Style name is required.". It is also the name the style is stored under in the cloud.
2 Comments Free description text for the style.
133 ... Picks the style's logo, a PNG, JPG or BMP image. It is reduced to at most 400 × 160 pixels and kept inside the style; the online list shows each style with its logo.
134 x Removes the logo.
5 Filter Filters the online list by what you type (case-insensitive). Esc clears the filter.
6 CapCad Lists CapCad's public styles. It is the default and it is read-only.
7 User's Lists the styles in your CapCad login's cloud; the caption carries the login in parentheses. Switching cloud reloads the list.
135 All In CapCad's cloud, lists every style. Default.
136 Agencies In CapCad's cloud, lists the styles of agencies and concessionaires: every style not named capcad.*.
137 CapCad In CapCad's cloud, lists CapCad's own styles (capcad.* and exemplo). The three choices (135 to 137) show only with the CapCad cloud and work together with the filter.
8 Online style library The list of styles, each with its logo. Selecting an item enables 3 and 11 and fills field 9 with the selected name.
3 Load in the editor Downloads the selected style and loads it into the editor, tied to the cloud it came from: Save writes it back there; Save as… keeps a copy in a file or under another name. Unsaved changes are confirmed before being discarded.
11 Apply to the drawing Registers in the drawing the style selected in the list, by cloud name, without going through the editor.
13 ⟳ (Refresh list) Reloads the online list and recomputes the state of button 4.
4 Load in the editor (Current drawing (DWG)) Opens in the editor the style the active drawing uses. It is only enabled when that style really exists; the state follows the drawing: it is recomputed when the editor opens, when a style is applied, when the editor comes back to the front (another drawing included) and on every refresh (13). Since the open style already is the drawing's, saving it reapplies it without asking.
9 Base style for layer migration (optional) The standard the drawing was made to. It accepts a cloud name or a .capstyle path. It is what says what each old layer of the drawing meant; without it the migration uses the open style as its own base: layers are still recognised through the catalogue, but the old standard's own layer names are not.
10 … A .capstyle file picker to fill field 9.
12 Update DWG The same as button 22 on the bottom bar. It is enabled as soon as field 9 has content.

General

# Control What it does
23 Km format The station mask used in annotations and reports. It must match the 0+000 format; anything else blocks the write.
24 Decimal separator Comma or Period. Only those two are accepted.
25 CTB File One or more CTB files, separated by ;.

The other items the style keeps as "general" (model and paper units, gap between sheets, default scale, usual scales, sheet split, group and numbering, north block and disciplines) are edited on the Formats page (75 to 91, 129 and 161 to 168), even though the model treats them as part of the same section.

Vertical appearance

The first three fields sit under the Sign appearance heading and offer the same fixed list of block styles: Normal, GrayShaded, BlackAndWhite, XShaped, XShapedGray, ColorLigthen, OuterShape, GrayAndWhite, DeleteHatch, BlackAndWhiteInverted and the catalogue's other variants.

# Control What it does
26 Sign insert Block style of the signs to be installed.
27 Sign keep Block style of the signs to be kept.
28 Sign remove Block style of the signs to be removed.
29 Attribute height Text height of the sign's attributes. Optional: blank or 0 means not set. A negative or non-numeric value is refused with "Must be a positive number.".
138 Attribute font The font of the sign attributes' text style: Romans (default) or Arial.
31 Replace sign position Where the new sign sits relative to the one it replaces. With no list of its own in the style, it offers Detect, AtLeft, AtRigth, Below and Above.
32 Support style How the sign is tied to its point. With no list of its own in the style, it offers ParalelaAoEixo_LinhaSuporteQuebrada, ParalelaAoEixo_LinhaSuporteDireta and PerpendicularAoEixo.
30 Styles per action A free action → style grid, for the actions that are not the three above (for example TRANSFERIR). The Action column is free text; the Style column is the same fixed list, but values coming from the JSON are tolerated. When deciding an action's appearance, this grid beats the three fields above, including for insert / keep / remove.

When the style itself carries a value list for Replace sign position or Support style, that list is what appears in those two fields, and the chosen value must belong to it, otherwise the write is refused.

Sign border

# Control What it does
139 ByBlock, Layer 0 The sign's border is drawn ByBlock on layer 0. Default.
140, 141 ByColor: The border takes the colour typed beside it (an ACI number, 6 by default).
142, 143 ByLayer: The border goes to the layer typed beside it (CAPCAD_PLACA_BORDA by default).

The box beside each choice is only enabled when that choice is selected. A project can override the style's border.

MAs

What the kilometre-post (MA) command takes from the style when its From the style option is used.

# Control What it does
144, 145 MA, MA-I The post sign the style uses: the normal MA or the inverted MA-I.
146 Set representation in the style Ticked, the style also sets the representation below; cleared, it writes none and the command keeps its own options. The controls below are only enabled while this box is ticked.
148, 149 Individual, Grouped One sign per post, or the posts grouped.
147 Simplified The simplified representation.
150 Incl. leader lines Draws the leader lines.
151 Parallel to the alignment Labels parallel to the alignment.
152 Double convention The double convention.
153 Do not fill attributes Leaves the attributes empty.
154 Label offset The label's offset (50 by default).

Vertical attributes

The page opens with a line reminding that the role says what an attribute means and the tag is the name written into the block.

# Control What it does
155 Attributes for All signs, or the kilometre-post signs (MA signs, with the post code of the country profile). The kilometre posts can have a list of their own; with nothing in it, they use the list of All signs.
36 Available attributes The catalogue of sign attributes CapCad knows and that are not in use yet, with their role, tag and prompt.
37 Attributes defined on the sign The attributes this style puts on the sign blocks, in the order they sit in, with their role, tag, prompt and label. The tag can be edited in the list. A red line under the list warns of a role used twice; an orange one, that the sign code is missing and will be added on insertion.
34 → Moves the selection from available to defined. The available list is re-sorted by tag.
35 ← Sends the selection back to available. A custom attribute (one not in the catalogue) does not go back to the list: it simply leaves.
33, 38 ↑ ↓ Move the selected attribute up and down the defined list. The order is the order of the attributes in the block.
39 Invisible from The cut-off point: from that position onwards the attributes are written as invisible.
156 Role The role of the custom attribute about to be added: (none — free text) or one of the roles not in use yet. Choosing a role fills the tag with the country's usual tag and the prompt with the role's name.
43 Custom tag The tag of an attribute that is not in the catalogue. It is upper-cased.
48 Custom prompt That attribute's prompt text.
47 Add Creates the custom attribute with the typed tag and prompt and puts it straight into the defined list. The tag is mandatory and must not already exist in either list.
157 Country default tags Gives every attribute that has a role the tag the active country profile writes, in both lists (All signs and MA signs), skipping a tag already in use. It is the step for adapting a style to another country.
41 Attribute height The same height as the previous page.
40 First attribute above Not available in this version.
42 Font Not available in this version; the font is set on the Vertical appearance page (138).
44, 45, 46, 49, 50 Action abbreviations Not available in this version.

Layers

# Control What it does
51 Layer grid One row per layer of the style: CAD layer, CapCad variable, Description, Colour, Linetype, LT scale, Width, Plot?, Transparency and LineWeight. The CapCad variable column is the role's logical key (for example SINA_HOR_BR_ZPA): choosing one from the catalogue fills the name, description, linetype, colour and plot flag; free variables are accepted and show in orange. Double-clicking the colour cell opens the CAD's colour picker. Layer names with forbidden characters are refused in the cell itself.
52 Filter Filters the grid by name or description.
53 Prefix The prefix pasted in front of every layer name. It is saved with the style; blank is valid and leaves the layers with no prefix. It also feeds the grid's preview and the QA comparison.
54 QA: compare with DWG A read-only check: it pulls the pending changes from the pages, reads the active drawing's layer table and compares. It reports style layers missing from the drawing, extra layers in the drawing (only when there is a prefix: without one there is no telling CapCad's layers from the drawing's) and differences in colour, linetype and plot flag. Colour and linetype are only compared when the style defines a value, since an empty field means "inherit from the domain". The result opens in a window of its own and the summary goes to the status line. Nothing is changed.

Each layer needs a name for the style to be written. The linetype is optional: a layer that sets only its name and colour keeps the catalogue's linetype. The variable is optional too (custom layers may have none).

Layers: domains

Rules by pattern that paint whole families of layers with one colour. Priority runs from top to bottom.

# Control What it does
56 Domain grid One row per rule: name, pattern (for example SINA_HOR_BR*IMP*) and colour. Double-clicking the row opens the colour picker.
58 add Appends a new rule (pattern SINA_XXX_*, colour 7) and opens the pattern cell for editing.
59 remove Removes the selected rule.
55, 57 ▲ ▼ Move the selected rule up and down, changing the priority.

Formats

The page has six frames. Formats and Selected format edit one sheet format at a time; the other four apply to the whole style, that is, to every format.

Formats

# Control What it does
60 Format list The style's sheet formats. Selecting one loads its fields into the Selected format frame.
158 Format wizard… Creates a new format in six steps, described below.
61 Add Creates a new format named NewFormatN and selects it.
62 Remove Removes the selected format, asking for confirmation.
159 Test in CAD Draws the selected format, as the fields hold it now (unsaved edits included), on a test layout of the drawing: title block, viewport, north and arrows. The scale is the first of the Usual Scales (82), or 1:1000 when there is none.
160 Preview Opens a preview window of the selected format: the title block read from its DWG with the viewport area and the north drawn over it, refreshed on every change to the fields.
Format wizard

Instead of typing coordinates, the wizard reads the title block DWG and shows a preview where the area and the north are checked or drawn.

  1. Title block. The local DWG, or its path in the CapCad library, and the format name, suggested from the file name. Read the title block says how many rectangles and attributes it has.
  2. Viewport area. The suggestion comes from the title block's rectangles: first the inner frame without the title strip that takes its full width or height, then the inner frame, then the others. Next suggestion switches; Draw on the preview sets the area with two clicks; the corners can also be typed. The optional clearance becomes the viewport width and height.
  3. North and arrows. The north sits 25 units inside the area's top-right corner, or wherever you click on the preview; the next and previous arrows are optional.
  4. Title block attributes. For each attribute, how the Sheet Set fills it: automatic by name (the tags the Sheet Set already fills, such as the scale, the sheet number and the start and end stations), leave as is, fixed text, today's date, sheet number, alignment name or an alignment property. It applies to every format of the style.
  5. Sheet Set defaults. The same as in the group below, for the whole style.
  6. Summary. Finish puts the format in the list and fills the page; nothing is saved until the style is.

Outside CAD there is no preview: the values are typed.

Selected format

# Control What it does
63 Name The format's name, the same one that appears in the Sheet Set format list.
64 Title block The title block: the name of a library block or the path of a local .dwg. Mandatory in every format.
65 ... Picks the title block's .dwg on disk.
66 Viewport area The title block's usable area, where the viewport goes: two opposite corners, as four comma-separated numbers (xmin,ymin,xmax,ymax). Any other numeric entry prevents saving; a text with no digits is taken as not set.
67 ⊕ Picks the two corners in the drawing: the editor minimises, asks for the top-left and then the bottom-right corner, and writes the area into the field.
68 North position The point of the title block where the north block is inserted, as two comma-separated numbers. Any other numeric entry prevents saving; a text with no digits is taken as not set.
69 ⊕ Picks the north position in the drawing.
70, 71 Viewport width, Viewport height The viewport's width and height, in paper units. The Sheet Set uses them to fill in the width and the height clearance: the usable area minus this value. When empty, the style leaves that clearance alone.
72, 73 Next arrow (block), Previous arrow (block) The continuation-arrow blocks the Sheet Set inserts with Insert arrows.

Title block attributes (all formats)

# Control What it does
74 Attribute / Value The style's attribute templates, shared by every format: for each title-block tag, the text it receives. They are the ones the Sheet Set shows under Sheet attributes and writes into the title blocks when it generates the sheets; the codes the text accepts (<sheet.number>, <today, dd/mm/yy>, <align.name> and others) are described on the Sheet Set page.

Sheet Set defaults

What the Sheet Set already has chosen when it opens with this style. A control that came from the style gets a light grey background in the Sheet Set.

# Control What it does
79 Sheet Split None, Bottom, Upper or Double.
80 Sheet Group Do not use, By alignment or Custom.
81 Sheet Numbering Global or Within the group.
82 Usual Scales A comma-separated list of scales, offered in the Sheet Set's scale list. Only positive values are kept.
83 North block The north block: the name of a library block or the path of a local .dwg.
84 ... Picks the north block's .dwg on disk.
85 North scale The scale the north block is inserted at.
163 Overlap The Sheet Set's Overlap, in model units. Empty leaves it to the Sheet Set.
166 Start from length The Sheet Set's starting length, in model units. Empty leaves it to the Sheet Set.
161 Matchline ext. The extension of the model matchlines, in model units. Empty leaves it to the Sheet Set.
86 Formats in the same layout Checked, the Sheet Set opens on Formats in the same layout: every sheet side by side in a single layout, separated by the Gap between sheets (78). Unchecked, it opens on 1 format per layout.
87, 88 Matchlines in model, Matchlines in paper Check or clear the Sheet Set's Matchlines in model and in paper.
89 Wipeout Checks or clears the Sheet Set's Wipeout.
90, 91 Coordinate grid in model, Coordinate grid in paper Choose the Sheet Set's coordinate grid: In Paper when the paper one is checked (it wins over the model one), In Model when only the model one is, None when neither is.
162 North always up The Sheet Set opens with its north-up sheets option checked.
164 Insert north Checks or clears the Sheet Set's Insert north. Checked by default.
165 Insert arrows Checks or clears the Sheet Set's Insert arrows. Checked by default.
167 Explode format block Checks or clears the Sheet Set's Explode format block.
168 Lock Viewports Checks or clears the Sheet Set's Lock viewports.

Units and scale

# Control What it does
75 Modelspace Units The model's unit: meters, millimeters or feet.
76 Paperspace Units The paper's unit: millimeters, meters or feet.
77 Scale Default The style's default scale, in the form 1:1000. Anything else prevents saving.
78 Gap between sheets With Formats in the same layout in the Sheet Set, the space between one sheet and the next in the same layout, in paper units. It applies when above zero; with 0 or empty, the sheets are 250 apart. It cannot be negative.

Disciplines

# Control What it does
129 Name / Suffix The style's disciplines. Each one needs a name and an alphanumeric suffix of up to 5 characters. The Sheet Set offers the disciplines as sheet group names.

Reports

# Control What it does
92 Report Chooses which report is being edited.
93 Filter Filters the list of available columns; the x beside it clears the filter.
169 Category Narrows the available columns to one category of the report's catalogue.
105 Available columns The catalogue of columns (tags) CapCad can extract from the drawing.
170 Column description The description of the column selected in either list.
106 Applied columns This report's columns, in order, with the Excel column letter beside each.
95, 97 → ← Move columns between the two lists.
96, 98 ↑ ↓ Reorder the selected column; the letters are recomputed.
99, 100, 101, 102 Placeholder, Linear property, Attribute, XData The type of the free column that button 104 will add.
103 Name: The free column's name.
104 + Appends the typed free column to the end of the applied list.
107 Excel template file The .xls/.xlsx used as a template. A relative path is resolved from the .capstyle's folder.
108 … A file picker for the template.
94 Data starts on row (excluding the header): The first data row in the spreadsheet.
109 Test in Excel Opens the template with the current columns for checking. It needs a report selected.
171 Infer from Excel Reads an existing spreadsheet and lets the AI match its columns to the report's catalogue. A review window shows the guesses and the first data row; on confirming, a new template is created beside the style (or beside the spreadsheet when the style has no folder yet), and the applied columns, the template and the first row are filled in. It needs a report selected.

The page's note reminds you that even when a column is not selected, every piece of information is still added to the reports in the spare columns.

Drawn table

How each report looks when it is drawn into the drawing rather than exported to Excel. The settings belong to the same reports as the Reports page. Sizes are in paper units, multiplied by the style's scale when the table goes to model space.

# Control What it does
172 Report The report whose drawn table is being edited.
173 Table layout How several tables are placed: Side by side or Stacked. Applies to the whole style.
174 Gap between (mm) The space between those tables (10 by default). Applies to the whole style.
175 Text height The table's text height.
176 Row height (0 = 2x the text) The row height; 0 uses twice the text height.
177 Minimum column width No column is narrower than this.
178 Include the header Draws the column headers.
180 Include the title Draws the table title.
182 Empty cell as "-" Writes - in empty cells.
183 Full-height column lines Draws each column line from top to bottom instead of one segment per cell.
184 Title in capitals Writes the title in capitals.
185 Opaque background (wipeout) Puts a wipeout behind the table.
179 Numbering column The header of a leading 1, 2, 3… column. Blank, there is none.
181 Sort by (numeric) The column the rows are sorted by, as numbers.
186 Rows per sheet (0 = one single table) Splits the table into pages of this many rows.
187, 188 Origin X / Y Where the first page of a split table is placed.
189 Step The distance from one page to the next.
190 Sheet frame block (FOLHA_NUMERO) The block inserted as a frame around each page; its FOLHA_NUMERO attribute receives the page number.
191, 192 CapSheets position X, CapSheets position Y With CapSheets, the table goes to each sheet's layout, below the sheet, at this position (Y downward).
195 Drawn columns The columns drawn, in order: Column, Label, Width, Fixed value and Layer. Empty means every column of the listing. A column name the listing does not produce draws an empty column.
193 Report columns Fills the grid with the columns the Reports page exports for this report, skipping those already there.
194 Add column... Adds a column by name.
196, 197 Up, Down Move the selected column.
198 Remove Removes the selected column.

Reports: summaries

A summary is the rows of a source listing grouped by the ticked columns, with the sums and the count. The style starts with the built-in summaries and can add its own; each summary's export columns, template and drawn table are edited on the Reports and Drawn table pages like a listing's.

# Control What it does
199 Summary The summary being edited. A summary computed by CapCad itself shows that its columns cannot be edited.
200 New... Creates a summary under a new name.
201 Remove Removes the selected summary; for a built-in one, it returns to the original definition. Asks for confirmation.
202 Title The summary's title.
203 Source (listing) The listing whose rows are summarised.
204 Picture column (sign images) Adds a column with the images of the signs.
205 Group by The columns that define a group.
206 Sum The columns added up in each group.
207 Keep The columns carried over as they are.
208 Count column The name of the column that receives the number of rows in each group.
209 Integer columns (;) Columns written as whole numbers, separated by ;.
210, 211 Extra column, + Adds a column the catalogue does not list (a computed one) to the three lists, unticked.

With CapSheets, the capsheet column comes first.

Reports: presets

# Control What it does
212 Presets list The report presets the style carries. A preset is made in the Reports form, with its save button; here they are only read and removed.
213 Details What the selected preset holds: input, output, listings, summaries and options.
214 Remove Removes the selected preset, asking for confirmation.

Property Sets

# Control What it does
114 PSet list The style's property sets, with what each applies to.
111 + Adds a custom set.
113 − Removes the selected set. It only acts on custom sets.
110 PSet Name: The set's name as it will be installed in the drawing.
112 Description: Free description of the set.
215 Applies to: The CapCad items the set is filled in for automatically, ticked in a list that stays open: All, None (the set is not filled in automatically) or one or more item kinds. A style can carry more than one set for the same item.
116 Filter Filters the list of available properties; the x beside it clears the filter.
216 Category Narrows the available properties to one category.
121 Available columns The catalogue of properties that can enter the set. A property can also be dragged from here onto the grid.
219 Column description The description of the selected property.
118 Property grid The set's properties: Variable, Name, Type, Default, Source per item and Format / auto. The type must be one of the accepted ones (text, real, integer, km, area, geographic, geographic_pair, datetime, filepath) and the default must be compatible with it. Source per item opens, for each item the set applies to, the column of that item or a fixed text that fills the property (empty uses the property's own variable). Format / auto sets the decimals, prefix and suffix, the automatic source and the numbering start and step. Rows can be reordered by dragging their headers.
119, 120 → ← Move properties between the catalogue and the grid.
115, 117 ↑ ↓ Reorder the selected property.
122 Apply to dwg Saves the style and installs in the drawing the property set definitions it describes. Enabled only on a CAD with native property sets (Civil 3D).
123 Pset Manager... Opens the host's property set manager.
124 Bring from the dwg The reverse: reads the property set definitions from the drawing and adds them to the style. Sets whose name the style already has are skipped (it never overwrites) and reported at the end. The entries arrive with the variable equal to the name: assign the real variables afterwards so that automatic filling by role works. Enabled only on a CAD with native property sets (Civil 3D).
217 Inscription groups... Applies to the whole style, not only to the selected set: in the 3D conversion of pavement inscriptions (arrows, words, symbols), sets the value of the hor.grupo column from the start of the block name. One line per group, plus the default group; empty, hor.grupo stays blank.
218 Applies To rules... The rules that decide which entities receive the selected set: any number of rules, each on CAD types, layers, block names, CapData and attribute pairs. New entities that match get the set, and the palette's property-set apply button applies it over the current space.
220 Define property sets from a spreadsheet or text (AI) Reads the customer's table, pasted or from a spreadsheet, and proposes the property sets and their properties. Nothing enters the style before you review it.

Labels

The attribute stack of each label kind CapCad places: road marking, guardrail, guardrail start, guardrail end and general. The CAD builds one block per kind and style, named CAPLABEL_<KIND>_<STYLE>.

# Control What it does
221 Kind: The label kind being edited.
222 Define this label in the style Ticked, the style defines this kind; cleared, it does not.
223 Text height: The labels' text height.
224 Spacing: The spacing between the label's texts.
225 Line length: The length of the label line.
226 MLeader (block on the leader) Places the label as a block on a multileader.
227 Leader: Straight or Spline.
228 Insert in Contenção For guardrail labels: the restraint command places them with its "insert from the style" option.
229 Attribute grid One row per attribute, in order: Tag, Variable (what fills it: the label's composed text marca.texto, the label point pos.*, the side, the station, the coordinates or a column of the item the label reads, the same variables as in the reports; or none, typed by the user), Position (Above or Below the label line), Prefix, Prompt, Default and Invisible.
- Move up, Move down, Remove Reorder or remove the selected attribute.
230 Preset: A ready-made attribute stack; Apply fills the kind with it (tags, variables, prefixes, prompts, defaults, height and spacing), asking before replacing attributes already there.
231 Update drawing labels Brings the labels already in the drawing to this definition, as the CAPCAD_LABEL command does. The drawing reads the saved style, so unsaved edits are saved first; if the drawing uses another style, or none, the editor says so and asks you to use Apply to the drawing first.

3D

# Control What it does
232 Colour The starting colour of the 3D Exporter for road markings and restraint: Not set, ByLayer or ByBlock. The exporter opens with it, and it can still be changed there for the run.

Raw JSON

# Control What it does
128 JSON text The whole model, serialised. It is the emergency exit: every .capstyle field that no page shows is still editable here. Read-only while 125 is unticked.
125 Enable editing Unlocks editing of the text and of the tree.
126 Refresh Reloads the JSON from the form's data, discarding the pending text edits (with confirmation).
127 Show diff Opens a window with the original and the current JSON side by side.

Beside the text there is a tree of the same model, with Expand and Collapse buttons to navigate it. On save, the JSON's pending edits are interpreted first; an invalid JSON blocks the write and the error appears on the page itself.

The command-line commands

-CAPCAD_STYLE_SET — register a style in the drawing

It asks "Load CapStyle by file name or cloud name:" and accepts either the path of a .capstyle or a cloud name. With an active project, the value is written to CapCad.Paradigm in project.config; with no project, it stays in memory for the session. It answers Style set: <value> or Style could not be loaded: <value>.

This is the command the Apply to the drawing button fires.

-CAPCAD_STYLE_MIGRATE — migrate the drawing's layers

This is the command the Update DWG button fires, and the one that does the migration proper.

  1. It resolves the project's active style. If there is none, it refuses with "Current style not set (needed for layer migration reference)".
  2. It asks for the base style: "Base style reference for the layer migration to active style \<name>:". It accepts a file path or a cloud name; an empty answer ends the command.
  3. When the base style differs from the active one, it asks for confirmation: "Wish to migrate layers from \<base> to \<active> ?". If either style fails to load, it answers "Base style not provided." and ends.
  4. It walks every layer of the drawing. Each layer that is a CapCad layer gets its name under the active style, the first match winning: the catalogue (whatever prefix the layer was made with), the base style's own entries, the road-marking grammar, and finally any layer that carries a prefix. Any other layer is a user layer and is left alone.
  5. When the target layer does not exist yet, the layer is renamed: the entities follow, and the layer's own settings and viewport freezes survive.
  6. When it exists, the layer is merged into it: the entities move, in every space and inside block definitions, and the emptied layer is purged.
  7. The active style's colour, linetype, lineweight, transparency and plot flag are then applied to the target layer.
  8. It then brings the signs to the active style: their attributes, their representation (the sign styles of the Vertical appearance page) and the sign fix, as Migrate Vertical... does, without asking.
  9. A Migrate layers window lists each layer, its new name, its entities and the action taken. With nothing to convert, the command says "Convertible layers not found.". It ends with Processed: N layer(s) migrated.

What the migration does and does not do. It renames and merges layers and brings the signs to the style. It does not redo the property sets.

The style tools

The ribbon button Estilos Explorer & Tools runs CAPCAD_STYLE_TOOLS, which opens the modeless Styles window. Running it again brings the open window to the front. It has two tabs, plus a third in the Brazil country profile for drawings made to another Brazilian standard; the tab last selected is remembered between sessions.

Migrate style

Control What it does
Active style: The style the project uses.
Migrate MAs/MPs... Converts the kilometre posts and their kin.
Reapply style Applies the active style's block edits again (such as the colour of the post line) to the blocks already in the drawing.
Migrate Vertical... Swaps the attributes of the signs for those the active style defines (visible and invisible), over the Whole dwg or the Selection, with the parts ticked: Vertical attributes, Vertical representation and Fix. Before running, it lists both sets and warns: attributes of the same name keep their value, those that do not exist in the destination are lost, sign blocks that are loaded but not inserted are affected too, and formatted attributes (speed, km, weight) are not touched. This is the operation that adds to the signs the attributes a style change introduced.
Migrate layers... The same layer migration as -CAPCAD_STYLE_MIGRATE, from the Base style typed or chosen beside it (the style the current dwg was drawn in), with a detailed handle / original layer / new layer report in a text window at the end. It confirms before running; when the base style equals the active one, the question changes to whether the layers should be redefined if different.
Merge XXX / CAPCAD_XXX pairs When the drawing has the same layer with and without the prefix (for example EIXO and CAPCAD_EIXO), both are treated as the same CapCad layer and merged into the name the active style asks for: prefixed if the style uses a prefix, bare if it does not. Ticked by default.

View

The styles available in the cloud and, for the one selected, its configuration items and their values. View local shows a .capstyle from disk; Apply CapCloud style... and Apply style from local file... register a style in the drawing; Editor... opens the CapStyle Editor; view source shows the style's JSON.

Remembered between sessions

The editor remembers whether the pages are listed on the side or as tabs (Side tabs, 130). Every opening starts with no style open, the cloud on CapCad and the online list reloaded from the server. The other state that persists is the drawing's (which style it registers) and the project's, in project.config.

The Styles window (CAPCAD_STYLE_TOOLS) remembers its last tab.

Notes

  • Applying does not redraw. Registering a style changes what comes next; to relabel what is already in the drawing you have to migrate.
  • Give the base style. It is the base style that says what each old layer meant; without it, only the layers the catalogue knows are recognised. Fill field 9 in, or give the style when the command line asks.
  • The order of Update DWG is deliberate. Save, apply, and only then migrate: migrating against an unsaved or unregistered style would use stale data. If you cancel the save or refuse the application, the migration does not run.
  • The layer QA changes nothing. Run it before migrating: it is the cheap way to see what will change.
  • The public cloud is read-only. Save on a style from CapCad's cloud writes a copy into your own cloud; the owner is never sent by the application, the server derives it from the authenticated login.
  • The pages follow the interface language, and the side list is sorted by the captions of that language, so its order changes from one language to another.
  • One message is not translated. The refusal "Current style not set (needed for layer migration reference)" comes out in English in every language.
  • Controls not available in this version: on the Vertical attributes page, First attribute above (40), Font (42) and the five Action abbreviations options (44, 45, 46, 49, 50).

See also

  • Layer tools — listing and creating the catalogue's layers under the style you set here.
  • Linetypes — loading, creating and identifying the dash patterns the style's layers point at.
  • Sheet Set — the sheets the Formats page prepares.