MacroModuleGetMacro Method

Gets the macro with the give name.

Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Macro GetMacro(
	string name
)

Parameters

name  String
The macro name.

Return Value

Macro
The macro.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also