I am trying to update my batch plotting program to plot to a multipage pdf file. It will error at random times. I can select the same drawings and plot the exact same way, and it will work. I do not understand what is going on.
Upon looking in the arx help docs, I see that this error is caused by the plot engine being in an invalid state. I BeginDocument, loop through all the files and plot them, then EndDocument. I think the plot document is being closed before I am calling the EndDocument. I cannot find any way to check the status of the plot document.
I am trying to just use the plot engine and not using the publish aspect of the .Net framework.
Thanks in advance.