标签:
AcDbBlockReference *pBlkRef = AcDbBlockReference::cast(ent.object()); AcDbObjectId pBlkTblRecId; pBlkTblRecId = pBlkRef->blockTableRecord(); AcDbBlockTableRecord *pBlkTblRec;
es = acdbOpenObject(pBlkTblRec, pBlkTblRecId, AcDb::kForRead);
通过acdbblockreference 获得块名
原文地址:http://www.cnblogs.com/xzh1993/p/5477156.html