Message 1 of 2
CIrdObjRecord
Not applicable
05-07-2008
05:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
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