API Reference > OdDb Classes > OdDbLinkedTableData Class > OdDbLinkedTableData Methods > setBlockAttributeValue Method > OdDbLinkedTableData::setBlockAttributeValue Method (OdInt32, OdInt32, OdDbObjectId&, OdString)
OdDbLinkedTableData::setBlockAttributeValue Method (OdInt32, OdInt32, OdDbObjectId&, OdString)
Syntax
C++
virtual void setBlockAttributeValue(OdInt32 nRow, OdInt32 nCol, const OdDbObjectId& idAttDef, const OdString sAttValue);
Parameters 
Description 
OdInt32 nRow 
[in] Row index of the cell.  
OdInt32 nCol 
[in] Column index of the cell.  
const OdDbObjectId& idAttDef 
[in] Object ID.  
const OdString sAttValue 
[in] Attribute value. 

Sets 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. Method generates the eIsWriteProtected exception when content is not editable (!isContentEditable()).

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