.NET

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

ThisDocument.SendCommand("open....

96 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.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.