CriticalPathCollector Class

This class is used to search and traverse the network analytical segments on the critical path.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.AnalysisCriticalPathCollector

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
 NameDescription
Public methodCriticalPathCollector Creates a new CriticalPathCollector that visits the analytical segments on the network critical path.
Top
Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the CriticalPathCollector
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodGetBasicIEnumeratorReturns an enumerator that iterates through a collection.
Public methodGetCalculatedFlow Gets the calculated flow of the network.
Public methodGetCalculatedPressureDrop Gets the calculated pressure drop of the network.
Public methodGetCriticalPathCollectorIterator Gets the critical path iterator to traverse individual segment.
Public methodGetEnumeratorReturns an enumerator that iterates through a collection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToNetworkSegmentIds Returns the list of analytical segment ids on the network critical path.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
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.
See Also