Skip to content

CriticalPathCollector

Public Class

This class is used to search and traverse the network analytical segments on the critical path.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.Analysis.CriticalPathCollector

Namespace: Autodesk.Revit.DB.Analysis

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class CriticalPathCollector : IEnumerable<MEPNetworkSegmentId>,
IDisposable

The CriticalPathCollector type exposes the following members.

Constructors

Name

Description


Public Method
CriticalPathCollector

Creates a new CriticalPathCollector that visits the analytical segments on the network critical path.


Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Methods

Name

Description


Public Method

Releases all resources used by the CriticalPathCollector


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Protected Method

Returns an enumerator that iterates through a collection.


Public Method
GetCalculatedFlow

Gets the calculated flow of the network.


Public Method
GetCalculatedPressureDrop

Gets the calculated pressure drop of the network.


Public Method

Gets the critical path iterator to traverse individual segment.


Public Method

Returns an enumerator that iterates through a collection.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Returns the list of analytical segment ids on the network critical path.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

The critcal path is a connected flow path that has the maximum pressure loss value on the network. The associated flow and pressure loss values are often used to select the equipment size. When this collector is constructed, the network is identified by one analytical segment seed. User may get the CriticalPathIterator from the collector to traverse the analytical segment on the critical path, in the sequence of their flow direction. Note that If the network contains multiple hydraulically separated levels, the critical path traversal is focused on the same hydraulic separation level as the seed segment.