Stratal CAD

Checking a drawing against your standards

Help centre · Review, files and recovery

Check a drawing against your project's own rule file for layers, styles, text heights, names and title-block fields, preview the safe fixes and apply them in one step. For CAD managers and anyone issuing drawings to an office standard.

Before you start

Steps: choose the standard

  1. Click Review > Compare and check > Standard… (from the standards split button), or type STANDARDS.
  2. Choose the rule file. The command line describes it, for example "Acme drawings" revision B: 12 standard layer(s), 3 text style(s), 2 dimension style(s), 4 required propert(ies).
  3. The drawing remembers the file (relative to the drawing when it can be). To forget it, run STANDARDS and choose Remove at Rule file (.json) [Remove] <keep>.

Steps: check and fix

  1. Click Review > Compare and check > CHECKSTANDARDS (or type CHECKSTANDARDS; the alias is CHECKSTD).
  2. The command line says Checked against <standard>: with a summary and lists the issues, each with its rule and either its fix or "(report only)".
  3. At Issues [Preview/Fix/List/Report/Exit] <Exit>:
    • Preview selects the objects with issues and says what the fixes would change. It is worked out on a copy.
    • Fix applies every fix that is safe to do automatically, in one undo step, and checks again.
    • List shows every issue (only the first 30 are shown at first).
    • Report writes the issues to a .csv file.

Steps: live checking

  1. With a rule file chosen, type STANDARDSLIVE (also in the standards split button).
  2. Choose ON. After each change the drawing is checked against its standard and new issues are reported on the command line. Run it again and choose OFf to stop.

What is checked

Rule area What is reported
Layers Layers that are not the standard's, names that do not match its patterns, layer properties that differ from the standard's.
Objects Objects with their own colour, linetype, lineweight or transparency where ByLayer is required; objects on layer 0.
Text Text styles that are not the standard's or differ from it; text heights not in the allowed list; text, symbols and dimension styles lower than the minimum height.
Dimensions Dimension styles that are not the standard's or differ; dimensions whose value is replaced by text.
Names Block, layout, text style and dimension style names that break the patterns.
Drawing properties Required title-block fields that are missing or do not match their pattern.
Sheets Layouts with viewports but no title block on the sheet.
Requirements Discipline objects that miss a required property, classification, connection, system or containment (reported as object-requirement, report only).

The rule file

A rule file is JSON with "format": "stratal-standards" and "version": 1. Every section is optional:

{ "format": "stratal-standards", "version": 1, "name": "Acme drawings", "revision": "B",
  "standardsDrawing": "acme.stcad",
  "layers": { "only": true, "patterns": ["A-*", "S-*"], "matchProperties": true,
              "map": {"WALL": "A-WALL"},
              "definitions": [{"name": "A-WALL", "colour": "#FF0000", "linetype": "Continuous",
                               "lineweight": 0.5, "plot": true}] },
  "objects": { "byLayer": true, "notOnLayer0": true },
  "text": { "onlyStandardStyles": true, "map": {"ROMANS": "Standard"}, "heights": [2.5, 3.5, 5, 7],
            "minHeight": 2.5 },
  "dimensions": { "onlyStandardStyles": true, "map": {"OLD": "ISO-25"}, "noOverriddenValues": true },
  "names": { "blocks": ["*"], "layouts": ["Sheet *"] },
  "properties": { "required": {"DrawingNumber": "^[A-Z]-[0-9]{3}$", "DrawnBy": ""} },
  "sheets": { "titleBlock": true } }

Tips and common mistakes

Troubleshooting

Message or symptom What it means and what to do
"This drawing has no rule file: choose one with STANDARDS." Choose the rule file first.
"Not used: …" The rule file could not be read. The reason names the line of a JSON error, an unknown format or version, a bad value or an unreadable standards drawing.
"No issue has an automatic fix." Every issue is report only. Fix them by hand.
"The fixes cannot be applied: …" / "The fixes were not applied: …" Something in the drawing blocks the fix (for example a locked layer). The reason follows.
"A report is never written over a drawing; give a .csv file." Choose a .csv file name.

Related

Related

Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.