CIrdObjRecord

CIrdObjRecord

Anonymous
Not applicable
675 Views
1 Reply
Message 1 of 2

CIrdObjRecord

Anonymous
Not applicable
Hi,

i hope you can help me. i want to read data from an entity, but i don't know how.

my code:

AcDbObjectId DictId = pEnt->extensionDictionary();
es = acdbOpenObject(pDict, DictId, AcDb::kForRead, FALSE);
AcDbDictionaryIterator* pIt = pDict->newIterator();

AcDbXrecord* pXRec = NULL;
do
{
es = pIt->getObject((AcDbObject*&)pXrec, AcDb::kForRead);
CString name = pXrec->isA()->name();
struct resbuf *pRbList;
pXrec->rbChain(&pRbList);

I have often used this function to read data from an entity. in this cases the "name" is AcDbXrecord and so i can read the values in resbuf pRbList.
Now i have an entity that contains data, too. But the "name" is
CIrdObjRecord. I don't know this class and how to handle.

i hope you have an idea for me.

regards
marco
0 Likes
676 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
i was wrong.

the data that i wanted to read are not directly in the dictionary.

the data are object data of map-functionality. so i could find some ideas in the sample codes of map objectarx.
(see AcMapODTable and AcMapODTableRecord)
0 Likes