• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

undo command within a script

  • Thread starter Thread starter Onda
  • Start date Start date

Onda

Guest
Good morning,

I'm doing an autocad script to rename layers.
The script is generated by a vba in excel where new and old layers are written.
The script works me until there are errors in typing the layer name. When I accidentally put a nonexistent name the script goes to me because autocad keeps asking me the name and no longer takes the command sequence.
I would like to insert after each command, the equivalent of the "ec" key beat by keyboard in order to interrupt the command if still active and move to the next. How do you do that?
I didn't find anything that in the script behaves like the "esc" key beat by keyboard.

Thank you.

wave
 
if someone may be interested, I managed to stop the command running in the script and start the next by entering the code ascii 8 which is equivalent to backspace.
greetings

wave
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top