|
bool IsThisDynamicBlock(AcDbBlockReference *pBlockReference)
{
bool bIsDynamicBlock;
bIsDynamicBlock = AcDbDynBlockReference::isDynamicBlock(pBlockReference->blockTableRecord());
//or:
AcDbDynBlockTableRecord testDynBtr(pBlockReference->blockTableRecord());
bIsDynamicBlock = testDynBtr.isDynamicBlock();
return bIsDynamicBlock;
} |
|