A link between a database table record and an AutoCAD graphical object.
VBA class name: Link
Create using: LinkTemplate.CreateLink
Access via: Links.Item
A link establishes a dynamic relationship between an AutoCAD graphical object and an external database table. In order to create links, you must first create a link template that specifies the database table and key fields used by all links based on that template. There are three types of AutoCAD links:
- Entity links associate link information with an AutoCAD graphical object.
- Attached labels associate link information with an AutoCAD graphical object and create a corresponding multiline text label object.
- Freestanding labels associate link information with an multiline text label object.
To create an entity link, use the CreateLink method of the LinkTemplate object. To create labels, use the CreateLabel method of the LinkTemplate object. To edit or query a link, use the following methods and properties:
Methods |
Properties |