Plotting with 2006

Plotting with 2006

Anonymous
Not applicable
199 Views
1 Reply
Message 1 of 2

Plotting with 2006

Anonymous
Not applicable
Hi all,

Just tested a program calling plotting command in version 2006. The program was initially done for 2005, and have 3 questions:

Problem 1::

The plotting parameters (printer, style set, etc) have been applied for a layout.
After updating certain layout graphic operations programatically, only the following statement is given w.r.t plotting at the end of a program:
thisdrawing.plot.plottodevice

The plotting fails with the error message 'Plot style is either incompatible or not set'.

But, plotting is successful with the command: (command "plot" "" "" "" "" "n" "n" "y"), where all the default parameters are accepted.

Question 1: What is wrong with the VBA statement plotting in 2006 version?

(The same VBA plotting is successful in 2005 version, and has no problems.)


Problem 2::

If the program is executed for the 2nd time immediately, the plotting statement (thisdrawing.plot.plottodevice) fails with the message 'AutoCAD is busy, background plotting in process.'

Question 2: How to find if AutoCAD is busy before executing the plotting command?

(This problem will not arise with the lisp command since the plotting is not done background, and hence the next process starts only when the preceeding process complets. Version 2005 did not pose this problem with VBA statement too.)


Question 3: Which method is better method of plotting - VBA or Lisp command method?

Thanks for any suggestions made.

MNRaghu
0 Likes
200 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Any suggestions???

Thanks,

MNRaghu
0 Likes