Link Object (ActiveX/CAO)

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:

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 Events

Delete

DbConnect

Document

KeyValues

Label

LinkTemplate

LinkType

ObjectId

Updatable

None