API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > getBlockAttributeValue Method > OdDbTable::getBlockAttributeValue Method (OdInt32, OdInt32, OdInt32, OdDbObjectId&)
OdDbTable::getBlockAttributeValue Method (OdInt32, OdInt32, OdInt32, OdDbObjectId&)
Syntax
C++
OdString getBlockAttributeValue(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdDbObjectId& attdefId) const;
Parameters 
Description 
OdInt32 row 
[in] Row index of the cell.  
OdInt32 col 
[in] Column index of the cell.  
OdInt32 nContent 
[in] Number of content.  
const OdDbObjectId& attdefId 
[in] Object ID.  

Block attribute value as an OdString value.

Returns the attribute value of the block cell using the specified object ID key. 

 

Method generates the eInvalidInput exception when the input row number and column number are less than 0 or greater than the table size.

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