MacroManager.GetMacroManager Method

MacroManagerGetMacroManager Method

Gets the Macro manager from the application.

Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static MacroManager GetMacroManager(
	Application application
)
Public Shared Function GetMacroManager ( 
	application As Application
) As MacroManager
public:
static MacroManager^ GetMacroManager(
	Application^ application
)
static member GetMacroManager : 
        application : Application -> MacroManager 

Parameters

application  Application
The application.

Return Value

MacroManager
The new Macro manager object.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also