Revit 2025.3 API
Macro |
Gets the item at the current position of the iterator.
Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public virtual Macro Current { get; }
Public Overridable ReadOnly Property Current As Macro Get
public: virtual property Macro^ Current { Macro^ get (); }
abstract Current : Macro with get override Current : Macro with get
Property Value
MacroImplements
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