.NET

Reply
Active Member
spitfire41
Posts: 7
Registered: ‎03-17-2006
Message 1 of 1 (95 Views)

ThisDocument.SendCommand("open....

95 Views, 0 Replies
06-19-2006 08:54 AM
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.
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.