我创建的块参照在炸散后,许多线都不见了,请各位大虾赐教,源码如下 AcDbObjectIdArray objIdArray; AcDbBlockReference *pBlockRef; acdbOpenObject(pBlockRef,blockRefID,AcDb::kForWrite); if(pBlockRef) { AcDbVoidPtrArray pArray; pBlockRef->explode(pArray); for(int i = 0;i<pArray.length();i++) { AcDbObjectId exEntId; addToModelSpace(exEntId,(AcDbEntity *)pArray.at(i)); objIdArray.append(exEntId); } } pBlockRef->close(); |