AddSpace Method


Add a space at specific cell.

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

Syntax

C#
public void AddSpace(
	int nRow,
	int nCol
)
Visual Basic
Public Sub AddSpace ( _
	nRow As Integer, _
	nCol As Integer _
)
Visual C++
public:
void AddSpace(
	int nRow, 
	int nCol
)

Parameters

nRow
Type: SystemInt32
Row Number
nCol
Type: SystemInt32
Column Number

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException The given row number nRow is invalid in Body. -or- The given column number nCol is invalid in Body. -or- There is a circuit at given cell (nRow, nCol) already.

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 →