.NET

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

ThisDocument.SendCommand("open....

93 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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community