Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication
You can use late binding to invoke methods on the AcadApplication without having to reference the COM type libraries.
for example:
object oApp = Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication;
// Call the Quit() method of the AcadApplication object:
oApp.GetType().InvokeMember("QUIT", BindingFlags.InvokeMethod, null, oApp, null);
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD 2000 through 2009
http://www.acadxtabs.com
Introducing AcadXTabs 2010:
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm
wrote in message news:6043527@discussion.autodesk.com...
Hi Terry,
Thanks for your answer, eventually I will find the way to go pure .Net (no COM involved) in the meantime, do you know the best way to get the current runtime AutoCAD application object without using com interop?.
Thanks
Raul