Revit 2025 API
Panel |
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 )
Public Sub AddSpare ( nRow As Integer, nCol As Integer )
public: void AddSpare( int nRow, int nCol )
member AddSpare : nRow : int * nCol : int -> unit
Parameters

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