Hello! ---------- Can somebody tell me is there a way to Cancel a calling Command in callback function to invoke some operations *before* and then to recall this Command again or call an another command or function? I just found in the NG the reply of John Uhden, with the link to his Cancel.lsp. I tried it and find that it can't cancel Plot command! Some other ways or I want too much? ; ) Thank you for your good will!
As the website advises "Note that commands such as "Quit" can not be cancelled as they require no further user input." To be more exact, there must be further command-line input in order to cancel. Perhaps you can accomplish what you want by undefining the "plot" and "print" commands, and defining custom clot and crint functions.
Using the "redefine" method, within your clot function, you could direct the program to proceed or not with the AutoCAD plot command.
Oh! John! ----------- I didn't understand you then! ....And I tryied to cancel the redefined clot with "(vl-cmdf) "... : ( Defining my own PLOT I can do what I want without a doubt but I would prefer to make two different and independent things with reactors... ... bacause of XXI century... Thank you again!