autocad object custom data

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm writting application for autocad in VBA, and need to store some information with objects.
For example asign some number and string with acad object (line, point arc,....) to identify the object later. I need this information to preserve, when I open the drawing later. Or It could be to create lists of objects handles for identification the object.
Please could You advice how to do it. It is important to save this information with drawing. I don't want to create an external file. I've found dictionary object and xdata property but I don't know if this is suitable for this...
Some specific example: there is a trace created from lines, arcs,..... I sort the entities consecutively and need to store the order of the entities..
Thanks for help.
michal