.NET‎ > ‎

Drawing Purge


Drawing Purge
  1. To purge the DGN data , this app is using the code from Kean Walmsley's blog
  2. Read the AUGI Article by Murray Clack [Drawing Purge: Quick, Efficient Clean Up

Drawing Purge has two main commands: DWG-PURGE and DWG-PURGE-BATCH.
Command : DWG-PURGE [Watch Video]
DWG-PURGE, will purge the current drawing of its unused AutoCAD items as well as DGN-related linetypes

To purge the Current drawing enter DWG-PURGE at the command line

Once the purge is done AutoCAD Text Window will pop up with the result as show below.

Note : If the DWG-PURGE is taking long time to purge the drawing use DWG-PURGE-BATCH command.
While using DWG-PURGE, if the current drawing has any xref attached that has unused DGN data
a dialog box will be displayed with the list of DGN data affected Xref's.
You will have the option to either Purge the Xref or not.

Command : DWG-PURGE-BATCH [Watch Video]
This command can be used for multiple drawings.
This routine will work in the background without opening the drawing file.
  
Procedure :
How to know the existence of DGN linetypes/Textstyles ?

 Follow below steps to find the existence of DGN linetypes in your drawing. 

  1. Takes more time than usual to copy the objects to clipboard.
  2. In the Linetype Mangaer dialog box there are number of unknown Linetypes which are not using.
  3. Existence of unknown Textstyles in the Text style list.
  4. Drawing file size is too heavy even the file contains less data.

 

 
 
DWG-PURGE-BATCH command has following options.
Can purge and save to a different folder.