Issue:
You have a drawing that has some issues. This can be slow opening, slow regens, constant crashing or the file size seems large for what you can see in the drawing.
Causes:
This problem can sometimes be cured by removing all non-selectable or invisible data in the drawing.
Solution:
- Open the file (generally start with the XREF’s and work your way back to the DWG that has the XREF’s inserted.
- Go to the Model Space tab
- Type in LAYON and LAYTHW
This will turn on and thaw all layers
- Make sure no layers are locked
- If you are using Civil3D, please ensure that all C3D objects are set to display something (so anything that is set to No_Diplay or the display elements are all off in a style - such as a surface, point style, profile, etc.) Failure to do this will result in Civil 3D elements being erased.
- Do a ZOOM => Extents to make sure all visible objects are on the screen.
Typically, I will also do a ZOOM => .5x to zoom out 50%
- Now start the ERASE command and when prompted to Select Objects, type in the word ALL
That will tell you what is selected in Model Space
Now type in the letter R or RE to start the Remove from selection, and using a window, select the visible items on the screen:
As you can see from the RED box above, in this example there is nothing left to erase (it’s a clean model space), however in your drawings there is remnants and left over stuff that can be erased. In the example below, this is a drawing that has issues, and there are 100 objects in Model Space that cannot be seen or selected (except via the ALL):
You can now hit Enter or space to erase those objects - Now type in PURGE, and right mouse click on the BLOCKS heading and select PURGE to purge all the BLOCKS that are not used in the DWG:
- Now, type in -PURGE (with a minus sign)
(This is the command line purge, the only way you can get to the Registered Applications)- Type in RE, Regapps, or select Regapps
- Hit enter at this prompt
- Type or Select No at this prompt:
- Normally you should have 20 or less, if this list gets large, it will impact the drawing performance
- Type in RE, Regapps, or select Regapps
Now that we’ve done all of that, type in LAYERP and hit enter (this will restore the previous later state – the LAYTHW, unless you had to unlock layers). Simply hit Enter again to run the command again. That should get you back to where you started the process.
About the Author
Follow on Linkedin More Content by Ryan Wunderlich