Batch recover using ScriptPro 2.0

By Virupaksha Aithal

This post will explain the procedure to use ScriptPro 2.0 tool to recover 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 and save an AutoCAD script file which does the recover for a given drawing file. You can use the ScriptPro key words to open and save the drawing file. Refer below script file. Below script file appends the “_recovered” to the drawing file after recovery. For example, drawing name “wheel.dwg” will be saved as “wheel_recovered.dwg” after running the script.

[Start]
QAFLAGS 31
RECOVER
"<acet:cFullFileName>"
_SAVEAS

"<acet:cFolderName>\<acet:cBaseName>_recovered.dwg"
Close

[End]

Step 3:
Start the ScriptPro tool.
Use the “wizard” options to start the ScriptPro wizard.

Wizard

Step 4:
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” button to close wizard dialog. Refer “d”.

Wizard2

Step 5:
As recovery command opens the drawing file, we need to make sure that the ScriptPro tool does not open the drawing file. so click settings button in the wizard
Options

Select options "Run script without opening drawing file". Modify the process time value if your drawings are large and need extra time to open

Press OK.

OpenDrawing

Step 6:
Run the ScriptPro tool

Run


Comments

8 responses to “Batch recover using ScriptPro 2.0”

  1. Hi there,
    I can check Run script drawing without opening drawing file but it will still open Autocad session.
    Thanks

  2. Thank you for the tip, it’s very useful.
    I ran the script and found that some my filed failed on the process. The reason is that the “Process timeout…” parameter value is not enough to finish recover process for drawing.
    It would be nice if you can mention that in your tip. Thank you.

  3. Thanks. I have edited the post
    regards
    Viru

  4. Is a more recent build available for this product ??
    I have seen references on AutoDesk blogs to a 64 bit build of the product … where can it be downloaded.
    Regards,

  5. Hi,
    ScriptPro 2.0 should work on 64 bit machines… same tool should work against AutoCAD 2016. Please let me know if the tool fails to work on AutoCAD 2016 64 bit
    Viru

  6. This is not working with Autocad 2016 (no recover file is created)

  7. Hi Logan,
    please provide non confidential drawing file against which we try the recover script in AutoCAD 2016.
    regards
    Viru

  8. Alex Chow Avatar
    Alex Chow

    It fails to work on AutoCAD 2016 64 bit:
    Error message:
    [ Status summary ]
    Failed
    Error while reading log file for C:\

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading