Revit 2025.3 API
Analytical |
Set the electrical connected phases of the downstream node.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void SetConnectedPhasesOnDownstream( ElementId id, ElectricalConnectedPhases connectedPhases )
Public Sub SetConnectedPhasesOnDownstream ( id As ElementId, connectedPhases As ElectricalConnectedPhases )
public: void SetConnectedPhasesOnDownstream( ElementId^ id, ElectricalConnectedPhases connectedPhases )
member SetConnectedPhasesOnDownstream : id : ElementId * connectedPhases : ElectricalConnectedPhases -> unit
Parameters
- id ElementId
- The downstream node id.
- connectedPhases ElectricalConnectedPhases
- The electrical connected phases to set to the downstream node.

Exception | Condition |
---|---|
ArgumentException | The id isn't a downstream node id of the power distributable node. -or- The electrical connected phases can't be used to connect the downstream node to the power distributable node. |
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |

If node B supplies from node A, node B is the downstream node of node A, and node A is the upstream node of node B.
Usually one node may have many downstream nodes, but TransferSwitch can only have one downstream node.
See Also