Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Batch Plot with a lisp

5 REPLIES 5
Reply
Message 1 of 6
jb4pres
833 Views, 5 Replies

Batch Plot with a lisp

Good afternoon ...

I have about 50 drawings that I need to plot to D size and B size and would love to automate it. The drawback though is I have to run a lisp that changes the draw order otherwise it won't print right.

Has someone written a lisp that:

* Opens a file
* runs lisp (Plot command is the last part of this)
* Closes file
* Opens next file (files have numeric suffix but not every number ... 1000, 1002, 3, 4, 6)

Thanks!!
Eric
5 REPLIES 5
Message 2 of 6
M_Hensley
in reply to: jb4pres

You need to write a script file that will open each file and load the lisp. You may be able to get free ScriptPro to work.
http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=4091678&linkID=9240618
Message 3 of 6
cadtown
in reply to: jb4pres

I had some success with batchrun utility years ago and hopefully it is still good and you can make some good use of it. You can download it from:

http://www.cadtown.com
Message 4 of 6
jb4pres
in reply to: jb4pres

Sorry for the delay in getting back ... I have been fighting scriptpro. It stalls when it hits the lisp.
Message 5 of 6
M_Hensley
in reply to: jb4pres

Test your lisp by manually loading it in a single drawing to make sure it plots properly without an error message or asking for additional input.
Message 6 of 6
jb4pres
in reply to: jb4pres

Works flawlessly. Its as if its not even loaded when run via script. I have a bunch of stuff in it that I use regularly so I know acad.lsp loads and works.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost