CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 5556 

CAD tip CAD tip # 4779:

Question CAD 
 %  platform  category 
Q - question

Drawing texts driven by database contents.

A - answer The dbConnect function, available in AutoCAD since version 2000 (formerly ASE), can easily insert drawing texts which change according to the contents of an external database.

Run dbConnect (Ctrl+6), connect to your database (data source - SQL, MS Access/MDB, dBase, ODBC, etc.) and set the label template (text size, justification, etc.). Then you can insert either Attached labels (by objects) or Freestanding labels (MTexts controlled by the database) linked to the selected records of your database tables. On any change in the external database also the drawing contents (labels) will be changed - see the DBCRELOADLABELS command.

For more information or database-link automation contact CAD Studio

100% *  CAD 
15.12.2005    9491×  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 6366:Inserting and updating time and date in an AutoCAD drawing.
Tip 5976:Keyboard shortcuts defined in AutoCAD.
Tip 2822:How to control DbConnect from the command line or from a script?
Tip 1653:dBconnect labels move slightly when exported to R14 format drawing.

Back   All CAD Tips All CAD tips&tricks

How to measure polyline length in AutoCAD LT? « | » How to clip a xref with a hole/island inside?

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.

Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.