PDA

View Full Version : AutoCAD 2014 not running lisp routine during batch plotting



PamJones391284
2013-06-17, 05:50 PM
My lisp routine that is loaded into my startup suite is not running when I batch plot in AutoCAD 2014. It runs when I open the drawings individually but not during a batch plot. Any suggestions? It worked in AutoCAD 2008.

tedg
2013-06-17, 06:47 PM
My lisp routine that is loaded into my startup suite is not running when I batch plot in AutoCAD 2014. It runs when I open the drawings individually but not during a batch plot. Any suggestions? It worked in AutoCAD 2008.

Congrats on your first post.

How are you "batch plotting"?

Can you post the lisp routine?

BlackBox
2013-06-17, 08:07 PM
I choose to use AcadDoc.lsp in lieu of Startup Suite and do not have this issue, but in order for the LISP code to work properly when invoked by Script, the code must be loaded... Have you tried preceding the Script line that calls the LISP command with a LOAD (http://docs.autodesk.com/ACD/2014/ENU/files/GUID-F3639BAA-FD70-487C-AEB5-9E6096EC0255.htm) statement (to load your LISP)?

PamJones391284
2013-06-21, 09:00 PM
We have revised our LISP routine to run in the acaddoc.lsp (took it out of the startup suite) and it's still not working when we publish multiple drawings. This lisp routine restores a specific layerstate when the drawing is opened specified by a text file. The lisp routine is attached. I will send an example set of drawings and files so you can see how it's supposed to work. We use publish to plot multiple drawings.

thanks.
Pam

BlackBox
2013-06-21, 09:46 PM
Sorry for the delay in helping on my part... My workload doubled, and being on reduced hours, I had to do the work.

Perhaps I'll be able to look either this weekend, or next week when things slow back down for me again.

Cheers