Author Topic: ObjectID storing in ExtensionDictionary  (Read 2151 times)

0 Members and 1 Guest are viewing this topic.

nekitip

  • Guest
ObjectID storing in ExtensionDictionary
« on: May 12, 2013, 08:20:25 AM »
1) How to store ObjectID in extension dictinary?
AND if that is possible, then
2) i vaguely remember that i read once something like: once set in ExtensionDic, the Handle, or ObjectID (not sure which) will update automaticaly by autocad (in cases of clone, etc...)
-i cannot find where I read that, nor remember more of that, nor context of what was that about
Which ObjectID is in question? ExtensionDic owners or any OBjectID? (if it was about that at all)

TheMaster

  • Guest
Re: ObjectID storing in ExtensionDictionary
« Reply #1 on: May 13, 2013, 01:18:03 AM »
1) How to store ObjectID in extension dictinary?
AND if that is possible, then
2) i vaguely remember that i read once something like: once set in ExtensionDic, the Handle, or ObjectID (not sure which) will update automaticaly by autocad (in cases of clone, etc...)
-i cannot find where I read that, nor remember more of that, nor context of what was that about
Which ObjectID is in question? ExtensionDic owners or any OBjectID? (if it was about that at all)

You can store ObjectIds in an XRecord, which can in-turn be stored in an ExtensionDictionary.

See the docs for DxfCode enum for the group codes for the various types of ObjectIds (hard/soft/owner/reference).