So you have this drawing, and despite clearing our your Annotative Scale List, running the PURGE command, even clearing out your layer filters the gosh darn drawing is still slower than a herd of turtles stampeding through peanut butter. And even after all of that, your drawing is still 1 MB in size – what gives?
The issue is most likely due to these little things known as regapp ID’s which can lurk in a drawing and substantially impact drawing performance. The term regapp is actually short for registered application. The basic premise of these so called regapps is a connection is made between AutoCAD and some external applications (ie AutoLISP, ObjectARX, .NET, etc). When this connection is no longer needed, a regapp of that former connection is retained inside the AutoCAD DWG database.
Removing RegApps from a Single Drawing
Thankfully getting rid of these unreferenced regapps is rather simple. Being one of AutoCAD’s best kept secrets, the hardest thing is just knowing about them. The secret to getting rid of these is the command line version of the -PURGE command (note the hyphen).
If you type –PURGE at the command line, you can then specify R for RegApps. Finishing the command will subsequently remove these unecessary objects from your drawing. Now save and watch your file shrink!
Removing RegApps from Multiple Drawings
The above method is great if all you have is a couple drawings to purge the RegApps from. Autodesk recently posted a Regapp ID Cleanup Utility which will allow you to remove these pesky things from multiple drawings at once.
- Excess unreferenced regapp IDs causing performance issues (via Autodesk Knowledge Base)
- Regapp ID Cleanup Utility (via Autodesk Utilities & Drivers Downloads)