Revit 2025.3 API
Macro |
Gets the macro with the give name.
Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public Macro GetMacro( string name )
Public Function GetMacro ( name As String ) As Macro
public: Macro^ GetMacro( String^ name )
member GetMacro : name : string -> Macro
Parameters
- name String
- The macro name.
Return Value
MacroThe macro.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also