This post will explain the procedure to use ScriptPro 2.0 tool to purge a set of AutoCAD drawing files.
Step1:
Download the ScriptPro 2.0 tool from http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=4091678&linkID=9240618
Step2:
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.
[Start]
;command
-purge
;Enter type of unused objects to purge
All
;Enter name(s) to purge <*>:
;Verify each name to be purged? [Yes/No]
No
SAVEAS
;Enter file format
;Save drawing as
"<acet:cFolderName>\<acet:cBaseName>_purged.dwg"
[End]
Step3:
Start the ScriptPro tool.
Use the “wizard” options to start the ScriptPro wizard.
Step4:
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”.


Leave a Reply to Mel CCancel reply