This post will explain the procedure to use ScriptPro 2.0 tool to purge a set of AutoCAD drawing files.
Download the ScriptPro 2.0 tool from http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=4091678&linkID=9240618
Create an AutoCAD Script file which does the purging. You can use the ScriptPro key words to save the drawing with a new name after the purge. Below script file appends the “_Purged” to the drawing name. For example, drawing name “wheel.dwg” will be saved as “wheel_purged.dwg” after running the script. Save the script file.
;Enter type of unused objects to purge
;Enter name(s) to purge <*>:
;Verify each name to be purged? [Yes/No]
;Enter file format
;Save drawing as
Start the ScriptPro tool.
Use the “wizard” options to start the ScriptPro wizard.
Browse and selected the Script file saved in Step2 as the Script file to use. Refer “a”
Add the drawing files which need to be purged using “Add” button in wizard. Refer “b”
Select the AutoCAD version to be used for the batch operation. Refer “c”
Press “Finish and Start ScriptPro” button to start the batch purging. Refer “d”.