GetUpstreamNodeIds Method


Gets upstream node ids.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2023

Syntax

C#
public IList<ElementId> GetUpstreamNodeIds()
Visual Basic
Public Function GetUpstreamNodeIds As IList(Of ElementId)
Visual C++
public:
IList<ElementId^>^ GetUpstreamNodeIds()

Return Value

The array of upstream node ids.

Remarks

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 only has one upstream node, but TransferSwitch may have two upstream nodes.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →