Hi ASCRT,
Why not use the VBA tools to do the plots?
Alternatively read up on IsQuiescent (if I've get the spelling right).
I've not had to use it, so am unfamiliar with its detail, but it has
often been mentioned here.
Regards,
Laurie Comerford
ASCRT wrote:
> Hi,
> I am trying to automate a publishing process over a series of drawings. I open a drawing, issue LISP commands from my VBA macro that start the publishing, and then close that drawing and open the next in the series.
>
> The problem is that the publishing takes a little while, and my procedure does not wait for it to complete before attempting to close the current drawing and open the next. I get a "Drawing is Busy" error.
>
> My question is this: is there a way to test for when the drawing is busy? Maybe a property of the drawing object that I could get and just loop until it indicated the drawing is no longer busy and I can close it?
>
> Or is there a better solution that someone can offer for this problem? I will greatly appreciate any help.
>
> Thanks.