I am building a small tool that will build a list of drawing paths and allow one to load them into AutoCAD via the program. I was having crashing issues with AutoCAD when using the API to load many documents one after other.... so I'd like to try using the sendCommand method but can't quite get it sending properly. This is what I have used:
SendCommand("open ""C:\test.dwg"" ")
Secondly what's the best way to sense and cancel an active AutoCAD command? I need to know if the user was in the middle of a command before I can do anything.