Hi,
Fisrt of all, i am not expirienced with VBA at all..
The problem is that i forget to check some things before begin to plot.
So I want, when i press Plot command, to appear a Message box which tells me what i have to check before.
For example:
ATTENTION
"Hey dummy, I hope you checked ..."
Well, with VBA, showing messagebox when Plotting is to start is one thing, one easy thing, but if the user is able to stop the plotting is another thing, not possible thing.
You can add code in AcadDocument.BeginPlot to ckeck something with the drawiing, and then show a messagebox to call the user a "dumb axx", however, the user could do nothing to stop the started plotting, so, not only the user is dumb, the coder of this prompt now is also dumb.
With VBA there is no way to stop the plotting process once the BeginPlot event is reached.
Your options would be to overrite the built-in plot/print command with your own; or use ObjectARX/.NET API, where you can easily intercept into "Plot/Print" command and veto it if something is not up to requirement.
Norman Yuan