Batch Processing

Batch Processing

Anonymous
Not applicable
407 Views
2 Replies
Message 1 of 3

Batch Processing

Anonymous
Not applicable
Hello -
Could someone please recommend a decent method for batch processing a group of drawings? We would like to apply the same lisp or vba function in a batch fasion, however, the few hacked methods for doing this doesn't work 100% of the time. I'm hoping there is a "best practices" way of doing this.

Thanks,
Jason Perry
Draftech, Inc.
0 Likes
408 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
We've had a lot of success with placing the code you want to run in an external file, either compiled, or we use an excel file with vba stuff in it. That way we simply copy the file into the folder with all the drawings. The file has a dialog that shows all the dwg's in the folder, optionally incl. subfolders, you select your candidates, the file picks up an open AutoCAD session (preferably with no dwg files open) and off you go batching through hundreds of files during lunch break. once finished, you throw the file away.
0 Likes
Message 3 of 3

arcticad
Advisor
Advisor
What I do is get the sheet set list or the directory list then check if drawing is open. Then either load it or switch to it.

then print each sheet. This is the general framework I use.

I posted a general framework for printing files.
http://discussion.autodesk.com/servlet/JiveServlet/download/33-524209-5413917-132097/plotfile.txt
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes