OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Fred Tomke on February 04, 2010, 01:51:05 AM

Title: AddCancel
Post by: Fred Tomke on February 04, 2010, 01:51:05 AM
Hello,

before adding a new feature request I want to ask if it is possible only to send ^C^C when actually a previous command is active in AutoCAD. I mean ^C^C should not be sent if not command is active (because of the messages in the commandline).

Fred
Title: Re: AddCancel
Post by: owenwengerd on February 04, 2010, 12:40:51 PM
I think that should be possible for synchronous event handlers, but I'm not sure it could work reliably for asynchronous events (because the "cancel" occurs earlier and potentially from a different context than the eventual event handler). It would be worth investigating, though.
Title: Re: AddCancel
Post by: Fred Tomke on February 04, 2010, 12:52:15 PM
Hm, I had another thought:

Now cancelling will be invoked no matter if no command is active, a command is active and LISP function is running.
If it will be changed now - will it also cancel running LISP command? (I hope so) What I mean is: I'm not sure if you can also recognize if LISP function is currently running which should be cancelled, too.

Fred
Title: Re: AddCancel
Post by: velasquez on August 30, 2012, 11:31:01 AM
Quote from: Fred Tomke on February 04, 2010, 01:51:05 AM
Hello,

before adding a new feature request I want to ask if it is possible only to send ^C^C when actually a previous command is active in AutoCAD. I mean ^C^C should not be sent if not command is active (because of the messages in the commandline).

Fred

Hi Fred,

It would not be possible to avoid the prompt *Cancel* on the command line?
The function is obvious AddCancel think needs no warning.

regards, velasquez
Title: Re: AddCancel
Post by: Fred Tomke on August 30, 2012, 11:32:03 PM
Hi,

I hope I understand you right. *Cancel* is prompted by AutoCAD. So that's why we have no influence on that.

Regards, Fred
Title: Re: AddCancel
Post by: velasquez on August 31, 2012, 05:47:04 AM
Quote from: Fred Tomke on August 30, 2012, 11:32:03 PM
Hi,

I hope I understand you right. *Cancel* is prompted by AutoCAD. So that's why we have no influence on that.

Regards, Fred

Thanks Fred,

Clarified now.

regards, velaquez