API Reference > OdDb Classes > OdDbMLeader Class > OdDbMLeader Methods > OdDbMLeader::getBlockAttributeValue Method
OdDbMLeader::getBlockAttributeValue Method
Syntax
C++
OdResult getBlockAttributeValue(OdDbObjectId attdefId, OdDbAttributePtr& pAtt) const;
Parameters 
Description 
OdDbObjectId attdefId 
[in] ObjectID of an attribute definition.  
OdDbAttributePtr& pAtt 
[out] Returned attribute object corresponding to attdefId. 

Returns the specified attribute from the associated block content. 

 

If successful, returns eOk.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.