RhinoCommon API
CommandAliasListAdd Method |
Adds a new command alias to Rhino.
Namespace: Rhino.ApplicationSettings
Assembly: RhinoCommon (in RhinoCommon.dll)
public static bool Add( string alias, string macro )
Public Shared Function Add ( alias As String, macro As String ) As Boolean
Parameters
- alias
- Type: SystemString
[in] The name of the command alias. - macro
- Type: SystemString
[in] The command macro to run when the alias is executed.
Return Value
Type: Booleantrue if successful.