2004
Table Of Contents
- Contents
- Chapter 1 - Find the Information You Need
- Part 1 - The User Interface
- Part 2 - Start, Organize, and Save a Drawing
- Part 3 - Control the Drawing Views
- Part 4 - Create and Modify Objects
- Chapter 14 - Control the Properties of Objects
- Chapter 15 - Use Precision Tools
- Chapter 16 - Draw Geometric Objects
- Chapter 17 - Change Existing Objects
- Part 5 - Hatches, Notes, and Dimensions
- Chapter 18 - Hatches, Fills, and Wipeouts
- Chapter 19 - Notes and Labels
- Chapter 20 - Dimensions and Tolerances
- Part 6 - Create Layouts and Plot Drawings
- Chapter 21 - Create Layouts
- Chapter 22 - Plot Drawings
- Part 7 - Share Data Between Drawings and Applications
- Chapter 23 - Reference Other Drawing Files (Xrefs)
- Chapter 24 - Link and Embed Data (OLE)
- Chapter 25 - Work with Data in Other Formats
- Chapter 26 - Access External Databases
- Overview of Using AutoCAD with External Databases
- Access a Database from Within AutoCAD
- Link Database Records to Graphical Objects
- Use Labels to Display Database Information in the Drawing
- Use Queries to Filter Database Information
- Share Link and Label Templates and Queries with Other Users
- Work with Links in Files from Earlier Releases
- Part 8 - Work with Other People and Organizations
- Chapter 27 - Protect and Sign Drawings
- Chapter 28 - Use the Internet to Share Drawings
- Chapter 29 - Insert and View Markups
- Chapter 30 - Publish Drawing Sets
- Part 9 - Create Realistic Images and Graphics
- Glossary
- Index
748 | Chapter 26 Access External Databases
Labels are multiline text objects that display data in an AutoCAD drawing
from selected fields stored in an external database table.
The labels that you create in AutoCAD can be freestanding, or they can be
attached to a graphical object. Freestanding labels exist in the drawing inde-
pendent of any graphical objects. Labels that are attached to a graphical
object are tightly connected with it. If you move the graphical object, the
label moves with it. If you copy the object to the Clipboard, the label is also
copied. If you delete an object that has an attached label, the label is deleted
as well. Labels associated with graphical objects are displayed with a leader.
To work with labels, you must first create a label template that defines what
fields from the database table are displayed in the label and how the label
text is formatted.
Edit Label Templates
After defining a label template, you might have cause to edit it. For example,
you may decide that you want additional table fields to be displayed in your
drawings, or that you want to change the font or size of the label object. You
can also specify a number of offset settings that affect the insertion point of
labels and, in the case of attached labels, their associated leader objects.
The Label Offset tab of the Label Template dialog box specifies X and Y
coordinate offset values for labels and leader objects. The following table
summarizes the effect these settings have on both freestanding and attached
labels.