codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  Dictionary object

A container object for storing and retrieving objects.

VBA class name:

AcadDictionary 

Create using:

Dictionaries.Add 

Access via:

Dictionaries.Item 

Dictionaries provide a mechanism for storing and retrieving objects with associated string keywords.

The objects in a dictionary may be referenced by their keywords. A dictionary can contain any type of object, including other dictionaries. A dictionary does not perform type checking of entries.

You can create new dictionaries, add entries to an existing dictionary, and get the keyword for a given object or the object for a given keyword. You can change the object that is associated with a given keyword, or rename the keyword for a given object.

This dictionary is similar to a collection in AutoCAD, and is used for custom object implementation. This object does not represent the spellchecking dictionary. The spellchecking dictionary is specified in the Preferences object.

To add a dictionary to the application, use the Add method. To edit or query a dictionary, use the following methods and properties:

Methods

AddObject

AddXRecord

Delete

GetExtensionDictionary

GetName

GetObject

GetXData

Item

Remove

Rename

Replace

SetXData  

Properties

Application

Count

Document

Handle

HasExtensionDictionary

Name

ObjectID

ObjectName

OwnerID  

Events

Modified

 

   Comments?