GetUpstreamSegments Method


Gets all upstream network segments.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2024

Syntax

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

Return Value

The list of segments that flow into this segment.

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 →