Returns the current Macro.
Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public Macro GetCurrent()
Return Value
MacroThe current Macro.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | There is no current item in the iterator. |