|
- bool PhdArxBlock::GetBlkDefId(AcDbObjectId& idBlkDef, const AcDbObjectId& idBlkRef) const
- {
- AcDbObjectPointer<AcDbBlockReference> pRef(idBlkRef, AcDb::kForRead);
- if (Acad::eOk != pRef.openStatus())
- return false;
- idBlkDef = pRef->blockTableRecord();
- return true;
- }
复制代码 |
|