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

AutoCAD × AI / CAD standards

How to apply the same fix to many drawings without ScriptPro

To bring the layers, colors, linetypes, text heights and styles of many drawings to the same standard, tell an AI with "Drawing Rule Fixer for AutoCAD" installed which folder to use and what to fix. With ScriptPro, you write the fix as a script (.scr) and run it on a list of drawings. If layer names differ from drawing to drawing, the same script does not fix them all.

Try it freeSee 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.

The ScriptPro steps

  1. Write the operations you want as a sequence of commands in a script (.scr). End the script with QSAVE so the fixed drawings are saved.
  2. Start ScriptPro and create a new project.
  3. Add the target drawings to the list and specify the script.
  4. Run it. The drawings in the list are opened one at a time and the script runs on each.
  5. Check the log for drawings where the run stopped. Fix the script and run it again.

QSAVE overwrites the original file, so make copies of your drawings before you run the script.

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).

First, open a drawing that has your standard layers and create the rules.

"Create rules from this drawing"

If a partner company uses layer names that differ from your standard, add the mapping to the rules.

"Add to the rules: merge layers WALL and WALL-OLD into A-WALL"

Before you fix a whole folder, you can see what would be fixed, and how many items, in each drawing.

"Before fixing anything, show me only what would be fixed and how many items"

If the result is what you expect, fix the drawings and save them.

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

The AI 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 file name in a different folder. It fixes the items written in the rules: merging layers with different names, layer colors and linetypes, setting colors and linetypes that were assigned individually back to ByLayer, small text heights, and replacing text styles and dimension styles.

You get a table for each drawing with the count before the fix, the count fixed, and the count remaining. It shows which drawings are clean and which still need a person to look at them.

Built to be safe to hand over

Working on a folder of drawings, including the preview, is a subscription feature. Checking and previewing one drawing at a time and creating the rules are free.

FAQ

Do I still need the scripts I used with ScriptPro?

Not for scripts that fix layers, colors, linetypes, text heights and styles. Write what you want fixed in the rules, and the AI fixes the drawings with those rules.

What kinds of fixes can I put in the rules?

Merging layers with different names, layer colors and linetypes, setting individually assigned colors and linetypes back to ByLayer, small text heights, and replacing text styles and dimension styles.

Where are the fixed drawings saved?

In the folder you name in your request. If you give only a name (for example, Fixed), a folder with that name is created inside the original folder and the drawings are saved there. You cannot specify the same location as the originals.

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. No AI app? The included screen does the same checks and fixes.

  • 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