MacroManagerIteratorGetCurrent Method

Returns the current Macro module.

Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public MacroModule GetCurrent()

Return Value

MacroModule
The current Macro module.
Exceptions
ExceptionCondition
InvalidOperationException There is no current item in the iterator.
See Also