AutoCAD × AICAD standards, kept by AI日本語DeutschFrançaisEspañolPortuguêsItaliano한국어GRAMSHIFT AI

AutoCAD × AI / CAD standards

How to fix all DWG files in a folder to match your CAD standard

To bring all the DWG files in a folder into line with your company CAD standard, you can open each drawing and repeat layer merges and ByLayer resets, or you can build a script to process them in a batch. With Drawing Rule Fixer for AutoCAD, you ask an AI to "fix the drawings in this folder to match our standard," and it corrects the whole folder and saves the results in a separate folder.

See how to ask AI

An AutoCAD drawing before and after: 28 items that did not match the company CAD standard, then 0
A drawing with 28 items off the company standard, brought to 0 by asking AI

Checking is free

You get a plain list of everything that does not match your standard, with a count for each kind. No limit on how often you check.

One UNDO restores it

A fix to the open drawing is a single undo step. You decide whether to save the drawing.

Drawings stay on your PC

Drawing files are read on your own PC. This tool does not send them anywhere.

Steps with standard AutoCAD tools

  1. Open one drawing.
  2. Use LAYMRG to merge layers with non-standard names into the standard layers.
  3. In the Layer Properties Manager, set the colors and linetypes to match the standard.
  4. Select all objects, and in the Properties palette set color and linetype back to ByLayer.
  5. Save and close the drawing, then repeat steps 1 to 4 for the next one.

For a large number of drawings, you can also run these operations as a script (.scr). However, if layer names differ from drawing to drawing, the same script will not fix them all.

Ask AI to do it in one step

Start AutoCAD. Then ask an AI client with Drawing Rule Fixer for AutoCAD installed (for example, Claude Desktop):

"Fix the drawings in C:\Drawings\ProjectA to match our standard and save them in a folder named Fixed"

The tool opens each DWG and DXF file in the folder one at a time, finds where each drawing differs from the standard, fixes it, and saves it under the same name in a separate folder. It fixes the items written in your rules, such as merging layers with non-standard names, layer colors and linetypes, objects with individually set colors and linetypes (reset to ByLayer), the height of small text, and replacing text styles and dimension styles.

You get a table that shows, for each drawing, the number of issues before the fix, the number fixed, and the number remaining. It shows at a glance which drawings are clean and which need a person to look at them.

Built to be safe to hand over

Working with a whole folder of drawings at once, including the preview, is a subscription feature. Checking and previewing drawings one at a time are free.

FAQ

Can it fix drawings when each contractor uses different layer names?

Yes. Write the mappings in your rules, such as "this name goes to this standard layer," and the tool fixes only what applies in each drawing. To add a mapping, tell the AI: "Merge layers WALLS and WALL-OLD into A-WALL".

Does it work on a folder that mixes DWG and DXF files?

Yes. It handles both together. If the folder contains DWG files, keep AutoCAD running.

Where are the fixed drawings saved?

In the folder you name when you ask. If you give only a name (for example, "Fixed"), the tool creates a folder with that name inside the original folder and saves the drawings there. You cannot specify the same location as the original.

Are subfolders processed too?

Only the drawings directly in the folder you specify are processed. One run can handle up to 500 drawings.

Asking the AI to fix everything in the open drawing: 28 issues become 0

The tool used in this article

Drawing Rule Fixer for AutoCAD

Give your AI your company drawing rules (layers, colors, linetypes, text height). It checks the drawing open in AutoCAD and fixes it in one go. Ask in plain English from an AI client such as Claude Desktop.

  • Free: checking a drawing, listing layers and text, previewing a fix, creating a rules file
  • Subscription: fixing drawings, writing text back, and checking, fixing and translating a whole folder of drawings (DWG and DXF)

Try it free

Checking is free with no limit. Fixing is ¥1,980 a month, and you can cancel any time. Questions are welcome at contact@gramshift.com.

Related articles