.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ThisDocument.SendCommand("open....

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
228 Views, 0 Replies

ThisDocument.SendCommand("open....

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.
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost