GetEnumerator Method


Critical Path Collector Get Enumerator Method

Returns an enumerator that iterates through a collection.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public virtual IEnumerator<MEPNetworkSegmentId> GetEnumerator()

Return Value

IEnumerator MEPNetworkSegmentId
An IEnumerator object that can be used to iterate through the collection.

Implements

IEnumerable T GetEnumerator
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 →