21 | 08 | 2017

Cancel Command

When using SendCommand or other instances of AutoCAD the problem can occur that there is still an active command in the command line. Add the following string to the code to clear the command line.  


ThisDrawing.SendCommand Chr(27) & Chr(27) & Chr(27)

 ? Chr(27) represents hitting the ESCAPE button, you may want to repeat this a few times in case the command is nested.


Sign up now and upload your code to the website.

Help us to continue.....
Articles View Hits
Latest Articles