.NET

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

Getting Database object of Drawing file.

132 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 (124 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
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!