CommandAliasList
Contains static methods and properties to access command aliases.
Properties
Methods
Adds a new command alias to Rhino.
Deletes an existing command alias from Rhino.
Parameters:
| alias (string) | [in] The name of the command alias. |
Returns: true if successful.
Find an existing CommandAlias given the alias string
Parameters:
| alias (string) |
Get command alias from the list
Parameters:
| index (int) |
Returns: null is index is out of range
Constructs a dictionary containing as keys the default names and as value the default macro.
The returned dictionary contains a copy of the settings.
Returns: A new dictionary with the default name/macro combinations.
Returns the macro of a command alias.
Parameters:
| alias (string) | [in] The name of the command alias. |
Returns a list of command alias names.
Returns: An array of strings. This can be empty.
Verifies that a command alias exists in Rhino.
Parameters:
| alias (string) | [in] The name of the command alias. |
Returns: true if the alias exists.
Computes a value indicating if the current alias list is the same as the default alias list.
Returns: true if the current alias list is exactly equal to the default alias list; false otherwise.
Modifies the macro of a command alias.
Constructs a new dictionary that contains: as keys all names and as values all macros.
Modifications to this dictionary do not affect any Rhino command alias.
Returns: The new dictionary.
Add or modify the command aliases with a list of aliases
Parameters:
| aliases (IEnumerable<CommandAlias>) | |
| replaceAll (bool) |