MacroModuleIterator.GetCurrent Method

MacroModuleIteratorGetCurrent Method

Returns the current Macro.

Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public Macro GetCurrent()
Public Function GetCurrent As Macro
public:
Macro^ GetCurrent()
member GetCurrent : unit -> Macro 

Return Value

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