Drawing Purge

Drawing Purge

Win32 and 64, English

This plug-in helps to remove the unused DGN LineTypes, TextStyles, RegApps, and Annotation Scales, and other Purgeable items from the current drawing or multiple drawings in batch processing.

General Usage Instructions

Unused DGN data can increase your drawing file size extremely big.

Copying/Pasting the objects between drawings will take a longer time due to the unused DGN data.

By purging these unnecessary data your file size will be reduced and the drawing performance will be increased.



Ribbon/Toolbar Icon Command Command Description


To purge the Current Drawing By entering DWG-PURGE at the command line this plug-in will delete all the DGN unreferenced LineTypes, RegApps and Annotation Scale. Also, a dialog box will show with a list of any XRefs attached to the drawing that needs to purge. By clicking 'Purge' will start to purge the attached XRefs.


To purge multiple drawings without opening the files. In DWG-PURGE-BATCH you can add the drawings by following methods By selecting the drawing from the 'Select drawing' button By selecting a folder Copy/Paste a folder path Drag and drop From this dialog box go to the Options tab for more options. Purge the drawings and save them to a different location Purge the drawings and add a suffix to the file name e.g:- Mydrawing_purged.dwg Purge and save the drawing to another version


This command can be used to run in script mode. Also use this command in your lisp or scripts to run Drawing Purge


The installer that ran when you downloaded this app/plug-in from the Autodesk App Store will start installing the app/plug-in. OR, simply double-click the downloaded installer to install the app/plugin. You may need to restart the Autodesk product to activate the app/plug-in. To uninstall this plug-in, exit the Autodesk product if you are currently running it, simply rerun the installer, and select the "Uninstall" button. OR, click Control Panel > Programs > Programs and Features (Windows 7/8.1/10/11) and uninstall as you would any other application from your system.

Additional Information

To purge the DGN linetypes this plug-in using the code from KEAN WALMSLEY's blog:


There is already a Hotfix released by Autodesk® to purge the unused DGN data Autodesk® AutoCAD® DGN Hotfix:


Known Issues


Company Name: /\/apps
Support Contact: ajilalv@gmail.com

Author/Company Information


Support Information

For more information please contact ajilalv@gmail.com

Version History

Version Number Version Description

2025 support added. Option to run your favorite lisp/scripts with Drawing Purge.(Switch to 'Script mode' from 'Settings/About' menu.) DXF file support added. The performance of 'Dwg-purge' command has been improved.

2024 Support added. No change in the version number.

2013 drawing format added for AutoCAD 2018 in 'Save as' option. Option added in Additional tools to delete temporary files, such as *.bak, *.err, *.adt , *dwl , *.dwl2 and plot.log

Autodesk® AutoCAD® 2019 support added. Added the option to enable/disable the automatic backup of files. Added the option to enable/disable the INDEXCTL variable checking.

Additional tools added Can save the Version selection. Have to select a Backup folder for 'Replace Drawing' option

Autodesk® AutoCAD® 2018 support added. Language support added. Added the option to view the drawing version. Fixed some of the bugs reported recently.

Fixed some of the bugs reported recently. https://sites.google.com/site/avcadapps/-net/dwg-purge/drawing-purge-app-6-0-news/areyoufacingthisproblem

Fixed some of the bugs reported recently. https://sites.google.com/site/avcadapps/-net/dwg-purge/drawing-purge-app-6-0-news/areyoufacingthisproblem

AutoCAD® 2017 support added



  • New Interface
  • Separate settings for Dwg-Purge and Batch Purge.
  • Cancel the purge command in batch purge
  • Drag/Drop multiple folders
  • Thumbnail/preview missing bug fixed.
  • Minimize the purge window while purging, so that you can work with AutoCAD.
  • Only the selected items columns will be visible.

  • More items added for purging.
  • Show the Purge progress either in Status bar or in a New window.
  • Copy/Paste a folder path to process the drawing purge.
  • More options to control the Batch Purge option.
  • Double click on a file to open that file in Windows explorer.
  • Export the Purge results to a CSV file.

AutoCAD® 2016 support added.

Xref Layer Purge Bug fixed.This bug was causing the xref layer settings revert to default while using DWG-PURGE-BATCH command

AutoCAD® 2015 support added.

Updated to purge additional items Blocks, styles etc.

Added options to select a folder to process the batch operation.

Now user can control what items they need to purge.

Original release

Go top