Posted:
Mon Aug 08, 2005 8:10 am Post subject:
beginplot event
I have read through the newsgroup on this topic, but i am still at a
loss. I have written a small program that i want to run whenever a
user plots. I know the code works, but it only seems to work when it
is in a module in the active drawing. It seems like i may be missing
something about initializing events in a class module. Can someone
explain, or send me to resources where i can get even more dangerous?
Public WithEvents AcadApp As AcadApplication ' Use with Application
Then use the event
Private Sub AcadApp_BeginPlot(ByVal DrawingName As String)
To capture the plot.
Note: that in 2004 on if you want to capture the event background plot will have to be turned off.
To grab the object you could use the getobject method or thisdrawing.application method to set acadapp
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum