Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbTable::setBlockAttributeValue Method (OdInt32, OdInt32, OdInt32, const OdDbObjectId&, const OdString&)
Syntax
C++
void setBlockAttributeValue(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdDbObjectId& attdefId, const OdString& atrValue);

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

 

Parameters
Description
row
[in] Row index of the cell.
col
[in] Column index of the cell.
nContent
[in] Number of content.
attdefId
[in] Attribute object ID.
atrValue
[in] Attribute value as an OdString value.

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-2022. Open Design Alliance All rights reserved.