The ScriptPro steps
- 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.
- Start ScriptPro and create a new project.
- Add the target drawings to the list and specify the script.
- Run it. The drawings in the list are opened one at a time and the script runs on each.
- 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
- Fixes follow each drawing's differences. Even when layer names differ from drawing to drawing, the mappings in the rules are used, and only the objects that match are fixed.
- Your original files are not changed. Fixed drawings are saved in a different folder. If a file with the same name already exists there, it is not overwritten. Drawings with no changes are not saved, so the output folder contains only the drawings that were fixed.
- Drawings you are working in are left alone. If a drawing in the folder is currently open in AutoCAD, that one drawing is skipped and you are told.
- Folders that mix DWG and DXF files work. The drawings directly in the folder you specify are processed, up to 500 drawings at a time.
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.
