- 积分
- 247
- 明经币
- 个
- 注册时间
- 2003-10-13
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
AcDbDatabase Db(Adesk::kFalse); Acad::ErrorStatus err; err = Db.readDwgFile((const char*)szProjDbPath,_SH_DENYNO,Adesk::kFalse); AcDbBlockTable *pBlockTable = NULL ; err = Db.getSymbolTable(pBlockTable, AcDb::kForRead);
AcDbBlockTableRecord *pBlockTableRecord = NULL; err = pBlockTable->getAt(ACDB_MODEL_SPACE, pBlockTableRecord, AcDb::kForRead); pBlockTable->close(); AcDbBlockTableRecordIterator* pIterator = NULL; err = pBlockTableRecord->newIterator(pIterator,true,false);
为何上述代码在arx工程中执行的不错,而在dbx中就挂了??告诉我是createfailed(最后一句) 请大侠帮个忙拉 |
|