Buggy DIASTAT and EndPlot Reactor

Discussion in 'AutoCAD' started by mnovendstern, Jun 9, 2004.

  1. mnovendstern

    mnovendstern Guest

    The DIASTAT is buggy when using plot preview and was wondering if there is a work-around.... Following is one way to reproduce the issue, there are others. Make sure that your plot logging routine is autoloading. I would suggest you add the following line to the AcadDocument_EndPlot.. MsgBox ThisDrawing.GetVariable("DIASTAT")

    Example....
    1. Close Autocad.
    2. Open a browser window and browse to one of your drawing files.
    3. Double click on your drawing file to launch autocad.
    4. Typle plot at the command prompt
    5. Click the plot preview button.
    6. Right click and select Exit.

    You will notice that the diastat is 1 which looks like the plot was completed with the user selecting OK. This only happens on the 1st file opened. Repeat the above with subsequent files and youll note the diastat is 0.

    Any suggestions...

    Thanks!!
     
    mnovendstern, Jun 9, 2004
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.