Revit 2025.3 API
Filtered |
Gets the item at the current position of the iterator.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public virtual Element Current { get; }
Public Overridable ReadOnly Property Current As Element Get
public: virtual property Element^ Current { Element^ get (); }
abstract Current : Element with get override Current : Element with get
Property Value
ElementImplements
IEnumeratorTCurrent
Exception | Condition |
---|---|
InvalidOperationException | There is no current item in the iterator. |

There is no current item if the iterator has not started yet or has been done.
See Also