SmartPurger is a batch and script utility for processing multiple Autodesk® AutoCAD® drawings with full control. Execute LSP or SCR files on multiple drawings. SmartPurger handles crashes so the batch processing continues to the end and leaves bad drawings to be corrected manually. Many purge and cleanup settings available. Useful before backups and distribution of drawings. The file's modified time stamp can be restored.
SmartPurger is useful if you want to minimize the size of files before a backup or before sending drawings by e-mail, burning to CD or just to use as a quick viewer of drawings. You have options to save the files to a separate folder or to a different drawing version.
SmartPurger can execute custom script files (.SCR) or AutoLISP files (.LSP, .FAS or .VLX).
SmartPurger can make use of Autodesk® AutoCAD® Core Console that was introduced in Autodesk AutoCAD 2013 making the scripting process faster than ever as the Core Console takes less than a second to open per drawing. In a test using the Core Console took 11 minutes compared to normal Autodesk AutoCAD 2013 that took 58 minutes to process 145 drawings. You can set up SmartPurger to run different Autodesk AutoCAD applications for different drawing file versions. Optionally specify the profile to be used when starting Autodesk AutoCAD. From a real project: 1773 drawings and a total size of 526MB in 2000 DWG format become 218MB in 2004 DWG format. Conversion and purging was made totally unattended. SmartPurger can without problem process 10,000 drawings and more.
You can run audit, zoom extents, and create preview icons. Convert between versions. Purge Blocks, Dimension styles, Layers, Linetypes, Mline styles, Shapes, Text styles, Plot styles, Page Setups, Filter states, Layer states, Layer manager states (Express Tools), Line objects without length, Text objects without text, embedded VBA code, registered applications collections, Anonymous Groups, Groups, Orphaned Data. It's possible to restore the date and time of the file to what it was before the scripting. Delete .BAK and other temporary or garbage files and much more. Remember that this is a very powerful tool and make sure you understand and know what you do when you use it. Read the documentation before you run it. Try on some test files/folders as a start. To be on the safe side make sure you have backups before you run.
If Autodesk AutoCAD's -PURGE command crashes Autodesk AutoCAD because it runs out of memory (FATAL ERROR: Out of memory - shutting down) when purging Regapps make sure to use the purge option "Purge all registered applications collection" instead. It can take really long time (from some minutes to some hours) so set the timeout to max value (100000) and leave it running during the night. Sometimes it can help to unload the xrefs on all drawings you want to purge from Regapps otherwise they just keep coming back. Create a small lsp file with this code and run it first on all drawings. (Command "._-xref" "_u" "*") After that you can run the files, purging the Regapps. Remember that all nested xrefs has to be run. Then run a lsp file that loads the xrefs again using code like this: (command "._-xref" "_r" "*")
The free trial without license file is fully functional except that you can only batch process 10 drawings per session to give you the chance to confirm that the program works as expected. When you purchase you can use SmartPurger with no limitations.