Page 1 of 1
EndCommand
Posted: Thu Oct 23, 2003 11:14 am
by ssc
Does IntelliCAD have an equivalent command to AutoCAD's
AcadDocument_EndCommand(ByVal CommandName As String)
Event fires when an AutoCAD command completes.
????
Thank you,
ssc
[This message has been edited by ssc (edited 10-23-2003).]
Posted: Thu Oct 30, 2003 3:03 pm
by John Finlay
ssc,
The Events in ICAD are limited.
Have a look in the Object Browser IntelliCAD Library for both Workspace and Document classes.
There's not much there.
------------------
Regards
John Finlay
Posted: Thu Oct 30, 2003 4:14 pm
by ssc
John,
Thank you for the reply. I did not notice any events I could use. Do you know how I would go about "trapping" or knowing when a command has completed, for instance INSERT?
SSC
Posted: Fri Nov 07, 2003 1:16 pm
by dretsome
ssc,
Try this:
lngCmd = Doc.GetVariable("cmdactive")
Do Until lngCmd = 0
lngCmd = Doc.GetVariable("cmdactive")
DoEvents
Loop
Posted: Mon Nov 10, 2003 8:31 am
by ssc
dretsome,
Thank you for the reply. I did not know about that variable. I will give it a try.
ssc