.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1 REPLY 1
Reply
Message 1 of 2
NLeininger
300 Views, 1 Reply

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

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.

1 REPLY 1
Message 2 of 2
dgorsman
in reply to: NLeininger

You can't read DWG files sans AutoCAD without some extra help, such as purchasing a RealDWG license.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost