ElectricalAnalyticalNode.ConnectToUpstreamNode Method

ElectricalAnalyticalNodeConnectToUpstreamNode Method

Connects to upstream node.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void ConnectToUpstreamNode(
	ElementId upstreamNodeId
)
Public Sub ConnectToUpstreamNode ( 
	upstreamNodeId As ElementId
)
public:
void ConnectToUpstreamNode(
	ElementId^ upstreamNodeId
)
member ConnectToUpstreamNode : 
        upstreamNodeId : ElementId -> unit 

Parameters

upstreamNodeId  ElementId
The upstream node id.
Exceptions
ExceptionCondition
ArgumentException The id is not an analytical distribution node id. -or- The analytical distribution node is full of downstream nodes. -or- The analytical distribution node can not connect to the upstream node.
ArgumentNullException A non-optional argument was null
InvalidOperationException The analytical distribution node is full of upstream nodes.
See Also