I have a VB winform project where I am reading data from a table inside a DWG file. By this method AutoCad needs to be open(making the application slower).
I found the article show below where you can use a different approach where you use a Database object(represent our in-memory drawing) But I don't know what DLL do I need to reference to be able to use this method. The method use on this appraoch is :
using Autodesk.AutoCAD.DatabaseServices; --> need to be able to import
And also the article is from 2006 and on C#. Is there a Better approach now a days ?
Thanks in advance
Breaking it down-A closernLook at the C# code for importing blocks
You can get the DLLS from ObjectArx Libraries which are here. When you install them there will be the dlls you need.
Look at AutoCAD`s Developers Guide examples and explanations for the latest "How to".