CriticalPathIterator
An iterator to traverse the critical path in the CriticalPathCollector.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.Analysis.CriticalPathIterator
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class CriticalPathIterator : IEnumerator<MEPNetworkSegmentId>
The CriticalPathIterator type exposes the following members.
Properties
Name
Description
Public Property
Current
Gets the item at the current position of the iterator.
Protected property
CurrentObject
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the CriticalPathIterator
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetCurrent
Gets the analytical segment id at the current iterating position.
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
IsDone
Identifies if the iteration has completed.
Public Method
MoveNext
Increments the iterator to the next downstream segment on the critical path.
Public Method
Reset
Resets the iterator to the beginning segment.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)