AddSpare Method


Panel Schedule View Add Spare Method

Add a spare at specific cell.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void AddSpare(
	int nRow,
	int nCol
)

Parameters

nRow Int32
Row Number
nCol Int32
Column Number
Exceptions
Exception Condition
ArgumentOutOfRangeException 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 →