Thursday, March 24, 2011

Batch Processing Files in AutoCAD

Have you ever had the need to batch process a large number of files in AutoCAD?  There is the Action Recorder which is very useful for helping with repetitive tasks, but there is some interaction required in most cases.   What if you want to be able to fire up AutoCAD and have it do something to a bunch of files without you, the user, needing to interact with the software.  Think about it, running a large task overnight, come back in the morning and its done.  It's easier than you think.  Autodesk Labs posted a utility that does just this thing.  It is posted under their "Plugin of the Month" and called "ScriptPro 2.0 for AutoCAD".

ScriptPro is a utility that allows you to specify a script file that will be run against a selection of files that you choose.  If you have never used a script file in AutoCAD, think of it as a set of directions that tell AutoCAD exactly what you want it to do.  It is simply a text file that emulates what you, the user, would type at the command prompt.  For more information on script files, do a search in the AutoCAD Help System.

ScriptPro provides a very clean and simple user interface that allows you to specify what script file you want to run, you can then add files individually, or by selecting a folder.  By the way, it will run on both DWG and DXF files.


What kind of scripts you ask, how about one that converts a DXF to a DWG, or back.  How about one that Zooms, Purges, and makes sure that all the layers are set right for delivering DWG's to a customer.  How about on that inserts a block at a specific point on all the drawings...The possibilities are endless.  Best of all...It's Free.

To get you copy of "ScriptPro 2.0 for AutoCAD", click the link below:


No comments:

Post a Comment