Will this app work on AutoCAD LT ?

Autocad LT does not support any API features (Control drawings and databases with ActiveX, VBS, AutoLisp, Visual LISP, ObjectARX, JavaScript, and .NET.).

So this app will NOT work with AutoCAD LT.

How to load the app manually ?

After installing Drawing Purge , if you are not able to run the command or can't see the command in ribbon.
Please try the following.

The app files are installed to below location.
Purge Folder

In Autocad command line type NETLOAD and select AVVADrawingPurge08-20xx.dll from below location

Choose the folder based on the CAD version you have.
Select AVVADrawingPurge08-20xx.dll and click to load.
Once the file is loaded, try to run DWG-PURGE or DWG-PURGE-BATCH command.

How to register the dll to avoid manual loading for each session of AutoCAD ?

If you want to avoid loading the app manually for each session of AutoCAD, try the following.
  1. Download this lisp file and save to your computer.
  2. At the command line type 'APPLOAD' and select the lisp file you downloaded or drag/drop the lisp file to AutoCAD
  3. Click 'Load' and close the dialog.
  4. Then at the command line type 'LoadDwgPurge' and enter

How do you get the add-in pulldown with the drawing purge and drawing purge batch buttons?

After successful installation of Drawing Purge, if you are not able to see the ribbon or menu.

Please try the following steps.

At the command line type 'CUILOAD, this should bring a window as shown in the below image.

  1. If the drawing purge group already there, Unload it and then click Browse and select AjilalVijayan_DrawingPurge.cuix from
    C:\Users\Username\AppData\Roaming\Autodesk\ApplicationPlugins\AVVADwgPurge.bundle\Contents\Resources folder.
  2. And click the  Load button.
  3. Close the CUILOAD window and check whether the app is visible in the ribbon.
    If the app is not visible, restart autocad and check again.

eNullObjectId error

While using DWG-PURGE command, if you are getting this error please try the following.

At the command line type 'AUDIT'.

Fix any errors detected? [Yes/No] <N>: Yes
This may take some time according to the size of the file.

Once 'Audit' is finished, save the drawing and close it.

Open the drawing again, and check whether the DWG-PURGE command is working.

If the error occurs after running AUDIT, then please follow the below steps.

  1. Enter DXFOUT in the drawing and save the dxf file in any location.
  2. Open a new drawing and import the dxf file by using DXFIN.
  3. Again DXFOUT this new drawing and save the dxf file at any location.
  4. Open a new drawing and import the dxf file created in step 3 by using DXFIN.
  5. Save this drawing and run DWG-PURGE command.

DGN data is not deleting after detecting

If the app is not deleting the dgn data after detecting, then please do the following.

Open the drawing and copy paste the below LISP code at the command line and hit ENTER.
(dictremove (namedobjdict) "ACAD_DGNLINESTYLECOMP")
Then try the command again.

Purge settings folder not found !!!

By default, the purge settings files are saved to below location.
You can save the folder 'DwgPurgeSettings' to any location you prefer to share the purge settings with other users.
If you are receiving an error which says the purge settings folder is not found, then browse to the above location or the location where you saved the settings folder.
Settings folder not found
Click OK, and then browse to the default location or the location where you have saved the settings folder.

Browse Folder
After selecting the folder, click Reset button

Change the System Variables Values


To change the System Variables values, please open the SysVarTemplate.dwg file and change the values in that drawing.
SysVarTemplte.dwg can be located in the app settings folder