ajs 发表于 2022-7-7 16:05:00

2004---Command line version of

I'm writing a small script and I was wondering if there is a command line version of cancel? (Which I can currently access by using the "Esc" key
 
Thank you

CADgirl 发表于 2022-7-7 16:23:03

I don't think there is.
You can look up a list of all the commands- go to Tools, Customize, Edit Program Parameters.

Kate M 发表于 2022-7-7 16:31:45

^C^C works in macros; I'm not sure about scripts.

dumfatnhappy 发表于 2022-7-7 16:41:57

 
it works in scripts,the reason for (2) ^C is in case you are in a transparent command (call it insurance)

ajs 发表于 2022-7-7 16:46:55

Thanks for the good advice:)
 
---AJ

rkmcswain 发表于 2022-7-7 16:58:36

 
You can put (command) in your script file to cancel a command.

MichaelEBeall 发表于 2022-7-7 17:12:49

Bingo!The (command) at the end of the script did the trick!
I'm updating The AutoCAD Workbench and I needed an answer to this question. Thank you!
页: [1]
查看完整版本: 2004---Command line version of