Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbTable::setBlockTableRecordId Method (OdUInt32, OdUInt32, const OdDbObjectId&, bool)
Syntax
C++
virtual void setBlockTableRecordId(OdUInt32 row, OdUInt32 column, const OdDbObjectId& blockId, bool autoScale = false);

Sets the Object ID of the block table record in the specified cell in this table entity. 

 

Parameters
Description
row
[in] Row index of the cell.
column
[in] Column index of the cell.
blockId
[in] Object ID of the block.
autoScale
[in] If true, autoscales the block to the cell.

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, the cell type is not OdDb::kBlockCell, or the object ID is invalid or kNull.

Copyright © 2002-2022. Open Design Alliance All rights reserved.