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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →