Hello Tim,
Could you please share your finding? I have the same problem. I want to cancel a command pragmatically.
Basically sending Escape to command prompt. But don't want to use sendstring.
Hopefully you won't be disappear like Tony did . I searched for his post regarding this and not found anything.
Thanks
Janet.
Hey Old Friend.
Thanks . You are really a gentle man.
This is the result of my finding based on your suggestion
If HostApplicationServices.Current.UserBreak() Then Throw New Autodesk.AutoCAD.Runtime.Exception(ErrorStatus.UserBreak, "ESCAPE pressed") End If
correct me if I am wrong Jeff. This is good to catch if user press Escaped.
But I need to send the EScape to Command in action / in progress.
So basically either I don't know how to use this method , or there is some misunderstanding.
You are a man any lady wish . So caring.
Cheers.
Janet.