Hi,
I'll try to explain in short what I'm attempting to do (don't ask me why, it's a long story).
From Word (VBA) I'm starting AcadApp, open a drawing and start a script.
Then, AFTER the script has finished, I want to close the AcadApp (to free memory this must be done) and I start AcadApp again, open the drawing and start script 2, and so on...
The problem is that while the script is still running in Acad, VBA continues without checking if the script has finished and it closes AcadApp premature...
Here's the question: how do I check that Acad is not busy and the script is finished before I shut it down (I tried GetAcadState.IsQuiescent in a loop but this doesn't seem to work)??
Thanks in advance!