Share

CriticalPathIterator Class

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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class CriticalPathIterator : IEnumerator<MEPNetworkSegmentId>

The CriticalPathIterator type exposes the following members.

Properties

 NameDescription
Public propertyCurrentGets the item at the current position of the iterator.
Protected propertyCurrentObject 
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the CriticalPathIterator
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetCurrent Gets the analytical segment id at the current iterating position.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsDone Identifies if the iteration has completed.
Public methodMoveNext Increments the iterator to the next downstream segment on the critical path.
Public methodReset Resets the iterator to the beginning segment.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?