| Revit 2022.1 API |
| MacroManagerIterator..::..GetCurrent Method |
| MacroManagerIterator Class See Also |
Returns the current Macro module.
Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2014
Syntax
| C# |
|---|
public MacroModule GetCurrent() |
| Visual Basic |
|---|
Public Function GetCurrent As MacroModule |
| Visual C++ |
|---|
public: MacroModule^ GetCurrent() |
Return Value
The current Macro module.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | There is no current item in the iterator. |