Well after a bit more testing, i now don't believe that it is the dynamic blocks that are causing my grief. (Not really sure what it is.
Lee,
That is precisely what I am doing. I am in the final testing stages of a batch processor that will run a lisp on a bunch of drawings in multiple locations.
MP,
It was true, fortunately now I am running ACA2009 and Autocad '08. No more support of LT.
David,
I tried messing with the Expert and Nomutt variable but still not getting the desired results. Didn't try qflags.
Let me explain a bit more about what is happening:
The batch processor opens
I browse for and select the lisp to run.
I browse for dwgs and add them to the list.
Then I begin to process the dwg.
During the processing a script is created that:
Closes the current dwg
Open the next dwg in the list (which get changed after ever pass)
Loads the batch processor lisp
Load the lisp to process
Recreates the script for the next drawing (a function in the batch processor lisp)
If there are no dwg to process, then the script is deleted and a reactor is fired on the original dwg. (If a cleanup function is defined)
...or the process starts all over.
I can batch 30-40 dwg with no problem, but then, every once in a while the script pauses on a random dwg.
My thought is that the lisp starts to run before Autocad is initialized to the point of running the script.? I am going to add S::STARTUP to the lisp and see if that helps. Currently I have no defun in the lisp, it runs on load. I have a bit more testing to do, I appreciate anything ideas that you guys come up with.
Thanks