Hi All CAD Experts, I am a newbie here and need your help.
I have been working on a project with over 700 sheets, and we start finding out our file sizes are increasing rapidly due to bad AEC blocks from consultants or ADT objects. The AEC parasite is running deep and we are in desperate need to clean our entire project folder.

So far I found out the only way to truly clean the files is to purge audit and resave into dxf, which should purge all AEC objects. And I figured out it may take 2 passes, one to open the files and saveas dxf, then open newly saved dxf and save it back into dwg. Is that a way to do that in one go, i.e. in the lisp to use a filename variable to open the newly-saved ACAD-filename.dxf ? Any help will be much appreciated !

Here is what I plan to do:
Step 1: Open filename.dwg, Purge all, DXFOUT
Step 2: Open ACAD-filename.dxf, Purge all, Audit, reload Linetype, Scalelistedit, Saveas ACAD-filename.dwg