RhinoCommon API
CommandAliasListSetMacro Method |
Modifies the macro of a command alias.
Namespace: Rhino.ApplicationSettings
Assembly: RhinoCommon (in RhinoCommon.dll)

public static bool SetMacro( string alias, string macro )
Public Shared Function SetMacro ( alias As String, macro As String ) As Boolean
Parameters
- alias
- Type: SystemString
[in] The name of the command alias. - macro
- Type: SystemString
[in] The new command macro to run when the alias is executed.
Return Value
Type: Booleantrue if successful.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14