Revit 2026 API
Geometry |
Returns an enumerator that iterates through the collection.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public virtual IEnumerator<GeometryObject> GetEnumerator()
Public Overridable Function GetEnumerator As IEnumerator(Of GeometryObject)
public: virtual IEnumerator<GeometryObject^>^ GetEnumerator()
abstract GetEnumerator : unit -> IEnumerator<GeometryObject> override GetEnumerator : unit -> IEnumerator<GeometryObject>
Return Value
IEnumeratorGeometryObjectAn IEnumerator(GeometryObject) object that can be used to iterate through the collection.
Implements
IEnumerableTGetEnumeratorSee Also