Revit 2025.3 API
Panel |
Switches the circuit phases at the slot.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void SwitchPhases( int nRow, int nCol )
Public Sub SwitchPhases ( nRow As Integer, nCol As Integer )
public: void SwitchPhases( int nRow, int nCol )
member SwitchPhases : nRow : int * nCol : int -> unit
Parameters
- nRow Int32
- Row Number.
- nCol Int32
- Column Number.

Exception | Condition |
---|---|
ArgumentException | The circuit at given cell (nRow, nCol) is not one or two poles circuit. |
ArgumentOutOfRangeException | The given row number nRow is invalid in Body. -or- The given column number nCol is invalid in Body. -or- There is no circuit at given cell (nRow, nCol). |
InvalidOperationException | This is not a switchboard panel schedule. |

Only one or two poles circuit on switchboard panel schedule can switch phases.
See Also