Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

Getting Method 'get_Item' in type 'Autodesk...' from assebly 'Acdbmgd..' error

$
0
0

My question is it possible to run these assemblies outside of AutoCad completely, or do they need to run inside an instance of AutoCad to work correctly?

 

For example, I'm trying to write some applications such that I want to read a Autocad drawing, but don't want to be forced into having to use a seat licenese to run my program.

 

using (Autodesk.AutoCAD.DatabaseServices.Database acDb = new Autodesk.AutoCAD.DatabaseServices.Database(false, false))
                    {
                        acDb.ReadDwgFile(fileToProcess, FileShare.ReadWrite, false, string.Empty);

 

 

acdb is still an empty object when run outside of AutoCad, however when I run similar code inside AutoCad the database is configured correctly.


Viewing all articles
Browse latest Browse all 14319

Trending Articles