.NET

Reply
Valued Contributor
RamanSBV
Posts: 88
Registered: ‎02-28-2012
Message 1 of 2 (128 Views)
Accepted Solution

Getting Database object of Drawing file.

128 Views, 1 Replies
08-08-2012 11:35 PM

Hi,

 

Could you please help, How i can get Database object of Drawing file with out opening.

 

Regards,

Raman

Try this code:

 

Document newdoc = Application.DocumentManager.GetDocument(newdb);

 

~'J'~

*Expert Elite*
Hallex
Posts: 1,569
Registered: ‎10-08-2008
Message 2 of 2 (120 Views)

Re: Getting Database object of Drawing file.

08-09-2012 01:18 AM in reply to: RamanSBV

Try this code:

 

Document newdoc = Application.DocumentManager.GetDocument(newdb);

 

~'J'~

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.