API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > setBlockAttributeValue Method > OdDbTable::setBlockAttributeValue Method (OdUInt32, OdUInt32, OdDbObjectId&, OdString&)
OdDbTable::setBlockAttributeValue Method (OdUInt32, OdUInt32, OdDbObjectId&, OdString&)
Syntax
C++
virtual void setBlockAttributeValue(OdUInt32 row, OdUInt32 column, const OdDbObjectId& attdefId, const OdString& attValue);
Parameters 
Description 
OdUInt32 row 
[in] Row index of the cell.  
OdUInt32 column 
[in] Column index of the cell.  
const OdDbObjectId& attdefId 
[in] Object ID of the OdDbAttributeDefinition.  
const OdString& attValue 
[out] Sets the attribute value. 

Sets the attribute value for the specified Object ID OdDb::key for the specified cell in this table entity. 

 

Method generates the eInvalidInput exception when the row argument is more than the number of rows, the column argument is more than the number of columns, or the cell type is not OdDb::kBlockCell.

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