A drawing that started at 2 MB can quietly grow to 40 MB after a few rounds of copying from consultants, pasting blocks from old projects and inserting xrefs. It opens slowly, saves slowly, crashes at the worst moment and annoys everyone who receives it. The good news is that a short AutoCAD drawing cleanup routine using PURGE, AUDIT and OVERKILL fixes most of these problems in a few minutes.
Why Drawings Get Heavy and Unstable
- Unused blocks, layers, text styles and dimension styles pile up from copied content.
- Registered applications (RegApps) multiply when files pass between offices and add-ons.
- Duplicate and overlapping lines appear after exploding blocks or importing PDF and DGN geometry.
- Small database errors build up after crashes or interrupted saves.
- Scale lists fill with hundreds of copied entries like "1:50_XREF_XREF".
None of these are visible on screen, but together they make every command slower and raise the risk of a corrupted file.
Step 1: Save a Backup First
Before cleaning, save a copy of the original file with a date in the name. Cleanup commands are safe in normal use, but OVERKILL in particular changes geometry. If something goes wrong, you want a clean way back without relying on autosave files.
Step 2: AUDIT to Fix Errors
Type AUDIT and answer Yes when asked to fix any errors detected. AutoCAD checks the drawing database and repairs what it can. Read the summary at the end. A few errors fixed is normal; hundreds of errors suggest the file has a deeper problem.
If a file will not open at all, use RECOVER from a new blank drawing instead. For drawings with many xrefs, RECOVERALL repairs the host file and all attached references in one pass.
Step 3: PURGE Unused Content
Type PURGE to open the Purge dialog. In recent versions it has two views: Purgeable Items and Find Non-Purgeable Items. The second view is very useful because it tells you why a layer or block cannot be removed, for example because it is used inside another block.
A good routine is:
- Tick Purge nested items so blocks inside blocks are included.
- Tick Automatically purge orphaned data to clear leftover DGN linetype data.
- Tick Zero-length geometry and empty text objects.
- Click Purge All and repeat until nothing more is listed.
Purging RegApps from the command line
Some versions hide registered applications in the dialog. Use -PURGE, choose R for RegApps, enter * for all names and answer N to verify each name. On files that have travelled between many offices, this alone can remove thousands of entries and noticeably speed up opening and copying.
Step 4: OVERKILL to Remove Duplicate Geometry
OVERKILL deletes duplicate objects and merges overlapping or partly overlapping lines, arcs and polylines. Select the area or type ALL, then review the options:
- Tolerance controls how close two objects must be to count as duplicates. The default is fine for most work.
- Ignore object property lets you treat objects as duplicates even if their layer, colour or linetype differs. Leave layer unticked unless you are sure.
- Combine co-linear objects that partially overlap merges stacked line segments into one.
- Do not break polylines keeps polylines intact, which matters for areas and hatch boundaries.
OVERKILL is especially helpful on marble shop drawings where joint lines are often drawn twice: once in the panel layout and again in the cutting plan. Removing the duplicates gives cleaner plots and accurate lengths when you measure joints or extract quantities.
Step 5: Reset the Scale List
Run SCALELISTEDIT and click Reset to remove the long list of copied annotation scales. This keeps the scale dropdown tidy and reduces file size, especially in drawings that use annotative objects.
Step 6: Check Xrefs and Images
Open the External References palette and look for unresolved or unreferenced items. Detach anything not needed, and reload the rest. Use relative paths so the drawing still works after you move the project folder or send it out with eTransmit.
A Quick Cleanup Checklist
- Save a dated backup copy.
AUDITwith fix errors set to Yes.PURGEwith nested items, then-PURGEfor RegApps.OVERKILLon all objects with sensible options.SCALELISTEDITand Reset.- Check xrefs and images, then save.
Many drafters run this checklist before every issue to a consultant. It takes five minutes and saves the receiver much more than that.
Automating the Routine
Once the steps feel natural, record them in a simple script file or use the Action Recorder. Batch processing tools can then run the same cleanup across a whole folder of sheets overnight. Always test any automation on copies first.
Common Mistakes to Avoid
- Running OVERKILL with layer ignored, which can delete objects that only looked like duplicates.
- Purging blocks from a template you still need for future projects.
- Skipping AUDIT and only purging, which leaves hidden errors in place.
- Cleaning the only copy of a consultant's original file.
Frequently Asked Questions
Is PURGE safe to run on any drawing?
Yes. PURGE only removes named items that are not used anywhere in the drawing, so visible content is not affected.
How often should I run AUDIT?
Run it before issuing drawings, after any crash and whenever a file starts behaving strangely.
Does OVERKILL work on blocks?
It works on objects in the current space. To clean geometry inside a block, open it in the Block Editor or refedit and run OVERKILL there.
Related Reading on ShoaibSite
Written by Shoaib Hussan, Founder of D3DDD – Dubai 3D Design & Draft.
Instagram: @mxhaib
Need drawings or 3D? Visit d3ddd.com or email info@d3ddd.com.

ConversionConversion EmoticonEmoticon