XRecord objects are used to store and manage arbitrary data.
Supported Platforms: Windows only
AcadXRecord
Object AcadObject AcadXRecord
VBA
Dictionary.AddXRecord
VBA
Dictionary.Item
These members are part of this object:
This object is similar in concept to XData but is not limited by size or order.
Unlike XData, XRecords work with the standard AutoCAD group codes that are all below 1000 in value. All the standard AutoCAD group codes are supported. This means that, in addition to all the normally used data types, an XRecord is capable of storing object IDs, which allows XRecords to own other objects including other XRecords.
The following group codes are common to all XRecord objects:
XRecord objects are saved with the drawing and are directly accessible by other ObjectARX and AutoLISP programs. So, if data security is an issue for your application, you should be careful when storing information in XRecords.
To create an XRecord, use the AddXRecord method.