AllowOverrideCellStyle Method


Identifies if the style can be overridden in the given cell.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2014

Syntax

C#
public bool AllowOverrideCellStyle(
	int nRow,
	int nCol
)
Visual Basic
Public Function AllowOverrideCellStyle ( _
	nRow As Integer, _
	nCol As Integer _
) As Boolean
Visual C++
public:
bool AllowOverrideCellStyle(
	int nRow, 
	int nCol
)

Parameters

nRow
Type: SystemInt32
nCol
Type: SystemInt32

Return Value

True if allow to override cell style.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException The given row number nRow is invalid. -or- The given column number nCol is invalid.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →