Revit 2025 API
Duct |
Identifies if the iterator has a current item.
Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool HasCurrent()
Public Function HasCurrent As Boolean
public: bool HasCurrent()
member HasCurrent : unit -> bool
Return Value
BooleanTrue if there is a current item.

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