Migrate the traffic-sign style

Plans: Free CAD Tools Geo Tools Urban Highways Aero
Command: -CAPCAD_STYLE_MIGRATE Updated 2026-11-19 Also in: Español Português
Ask about this page
Answers from this page only. General assistant

A CapCad style decides how a traffic sign is drawn and which attributes it carries: the graphic appearance of the block, the set of attribute tags, the layer names and the way the station, the coordinates and the dimensions are spelled. A drawing made under one style therefore holds signs shaped for that style — and opening it under another one leaves the signs looking and reading like the old one.

Migrating the style is what rebuilds those signs against the style now in force. It is a separate step from Fix Traffic Signs: the migration changes the block definitions and the attribute set, and Fix Traffic Signs fills the values in afterwards.

How to do it

  1. Open the drawing you want to migrate and make sure the style you want is the active one.
  2. Run CAPCAD_STYLE_EDITOR — the Styles Explorer. The active style is named at the top of the form.
  3. On the Main page, point the migration source at the style the drawing was drawn in (the ... button beside the source box opens a .capstyle file), and click Update DWG. The button saves the style, applies it to the drawing and runs the migration (-CAPCAD_STYLE_MIGRATE), in that order.
  4. The migration moves every CapCad layer of the drawing from the source style's names to the active style's (renaming it, or merging it into a layer that already exists) and shows the list of migrated layers in a window. On AutoCAD it then rebuilds the signs against the active style: their attribute set, the graphic representation of their action, and a fix pass that writes station, coordinates, code, dimensions and layers into the new tags.
  5. On BricsCAD, GstarCAD, ZWCAD and ARES Commander the migration covers the layers only: run Fix Traffic Signs (CV) afterwards to fill the attribute tags the new style expects, ticking the area options if the dimensions came through empty.

-CAPCAD_STYLE_MIGRATE can also be typed: it asks for the base style (a .capstyle file or a style name) and, when the base differs from the active style, asks for confirmation before migrating.

Notes

  • The migration is a change to the drawing, not to the style: the style file itself is not touched, and the drawing you migrate is the one that is open.
  • Save a copy before migrating a drawing you care about. The migration rewrites block definitions across the whole model space and there is no partial undo of it.
  • A sign inserted after the migration is already drawn under the current style; only the signs already in the drawing need this step.
  • Migration source and target are both CapCad styles. A drawing that never had a CapCad style has nothing to migrate from — insert its signs again instead.