RVTDocs.com

AreaBasedLoadData.CanConnectToUpstreamNode

Method
Description:
Verifies that the area based load can connect to the upstream electrical analytical node. If the area based load already has an upstream node or the upstream node is full of downstream nodes, the area based load can't connect to the upstream node.
Remarks:
If the area based load supplies from Node A, Node A is the upstream node of the area based load, and the area based load is the downstream node of node A.
Syntax
public bool CanConnectToUpstreamNode(
	ElementId upstreamNodeId
)
Parameters
Parameter Type Description
upstreamNodeId ElementId The upstream electrical analytical node id.
Return Value
Type Description
Boolean True if the area based load can connect to the upstream electrical analytical node.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null