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
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