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