Gets the macro with the give name.
Namespace: Autodesk.Revit.DB.MacrosAssembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Macro GetMacro(
string name
)
Parameters
- name String
-
The macro name.
Return Value
Macro
The macro.
Exceptions
See Also
Reference