Gets the Macro manager from the application.
Namespace: Autodesk.Revit.DB.MacrosAssembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2014
Syntax
| C# |
|---|
public static MacroManager GetMacroManager( Application application ) |
| Visual Basic |
|---|
Public Shared Function GetMacroManager ( _ application As Application _ ) As MacroManager |
| Visual C++ |
|---|
public: static MacroManager^ GetMacroManager( Application^ application ) |
Parameters
- application
- Type: Autodesk.Revit.ApplicationServices..::..Application
The application.
Return Value
The new Macro manager object.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |