.NET

.NET

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

Getting Database object of Drawing file.

134 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 (126 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.