Open AutoCAD document invisible

Open AutoCAD document invisible

Anonymous
Not applicable
779 Views
1 Reply
Message 1 of 2

Open AutoCAD document invisible

Anonymous
Not applicable
Hello,

I am quite new to AutoCAD but I have a long experience in developing Inventor add-ins. I want to retrieve some data (properties in general) from a drawing that it not opened. In inventor you can do this by using Open document invisible or ApprenticeServer. Is any of this options available in AutoCAD 2010?

Thank you so much,
Irina
0 Likes
780 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant
Hi,

You can access to a closed document database using the Database.ReadDdwg() method.

You can find a sample in the AutoCAD .NET Developer's Help >Develop Applications with VB.NET and C# > Handle Errors > Trap Runtime Errors > Use Try Statements

http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer%27s%20Guide/index.html


Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes