Revit 2026 API
Macro |
Returns the current Macro module.
Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public MacroModule GetCurrent()
Public Function GetCurrent As MacroModule
public: MacroModule^ GetCurrent()
member GetCurrent : unit -> MacroModule
Return Value
MacroModuleThe current Macro module.
| Exception | Condition |
|---|---|
| InvalidOperationException | There is no current item in the iterator. |
See Also