C++
Acad::ErrorStatus setCellState( int nRow, int nCol, AcDb::CellState nLock );
Description
Sets the cell state.
Returns Acad::eOk if successful; otherwise, returns an AutoCAD error status.
Note: This function will ignore internal cell states like AcDb::kCellStateLinked which cannot be changed.
Parameters
Parameters | Description |
---|---|
nRow | Input row index. It should be more than or equal to 0 and less than the number of rows. |
nCol | Input column index. It should be more than or equal to 0 and less than the number of columns. |
nLock | Input cell state to set. This will replace all the bits of the current state |