Active Contributor
Posts: 31
Registered: ‎12-18-2008
Message 1 of 2 (335 Views)

linking dwg to external database

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



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.






*Expert Elite*
Posts: 8,983
Registered: ‎06-29-2007
Message 2 of 2 (306 Views)

Re: linking dwg to external database

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



>> 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 -

Ingenieur Studio HOLLAUS ... www.hollaus.at
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.