Message 1 of 3
OLE Order of Commands

Not applicable
02-22-2001
12:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a VB program that controls all of our plotting. I am trying to
add
a plotstamp to each drawing as it is plotted. The routine works except
for the
fact that AutoCAD proceeds with the plotting before the block is
inserted.
I have added DoEvents to no avail. If I put a message box in the
routine and
then wait to click the OK button, everything works. Anyone have any
suggestions?
It kind of defeats the purpose if someone has to sit there all day and
click OK.
I have thought about creating a routine that would search through a
block collection
until it found my block and then let the program proceed but that just
seems like it
would take too long on some drawings. Should I create a custom script
and then
call that script?
I really hate asking this question but my brain is fried and I cannot
think of where to
look.
Thanks,
Patrick Jones
Newcomb & Boyd
add
a plotstamp to each drawing as it is plotted. The routine works except
for the
fact that AutoCAD proceeds with the plotting before the block is
inserted.
I have added DoEvents to no avail. If I put a message box in the
routine and
then wait to click the OK button, everything works. Anyone have any
suggestions?
It kind of defeats the purpose if someone has to sit there all day and
click OK.
I have thought about creating a routine that would search through a
block collection
until it found my block and then let the program proceed but that just
seems like it
would take too long on some drawings. Should I create a custom script
and then
call that script?
I really hate asking this question but my brain is fried and I cannot
think of where to
look.
Thanks,
Patrick Jones
Newcomb & Boyd