.NET

Reply
Active Contributor
murali.pandey
Posts: 31
Registered: ‎12-18-2008
Message 1 of 2 (329 Views)

linking dwg to external database

329 Views, 1 Replies
05-10-2012 10:20 PM

Hi

 

How can I link an external database(say access/oracle) to a drawing so that I m able to insert/update attribute directly from the autocad map drawing.

 

 

 

Thanks

Murali

*Expert Elite*
Alfred.NESWADBA
Posts: 8,890
Registered: ‎06-29-2007
Message 2 of 2 (300 Views)

Re: linking dwg to external database

05-12-2012 02:57 AM in reply to: murali.pandey

Hi,

 

>> How can I link an external database

 

That could be done using the command _DBCONNECT (>>>details<<<)

Using Map3D you can also use the command _MAPCONNECT (check >>>here<<<) to connect to a database.

 

>> I m able to insert/update attribute directly from the autocad map drawing

That is what I don't understand! What records do you have in your database and how are they set in relation to AutoCAD-objects? Who or what creates the relation between AutoCAD-blocks/attribtues to the database? When should you AutoCAD-BlockAttributes be updated? .... So please describe a little bit more detailed what you like to get and - as this is a development forum - what code makes you troubles.

 

If you have troubles just to connect to a database from dotNET then you can search the www for OLEDB and you will get millions of sample codelines.

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community