Click or drag to resize
CommandAliasList Class
Contains static methods and properties to access command aliases.
Inheritance Hierarchy
SystemObject
  Rhino.ApplicationSettingsCommandAliasList

Namespace: Rhino.ApplicationSettings
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static class CommandAliasList

The CommandAliasList type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCount
Returns the number of command alias in Rhino.
Top
Methods
  NameDescription
Public methodStatic memberAdd
Adds a new command alias to Rhino.
Public methodStatic memberClear
Removes all aliases from the list.
Public methodStatic memberDelete
Deletes an existing command alias from Rhino.
Public methodStatic memberGetDefaults
Constructs a dictionary containing as keys the default names and as value the default macro.

The returned dicionary contains a copy of the settings.

Public methodStatic memberGetMacro
Returns the macro of a command alias.
Public methodStatic memberGetNames
Returns a list of command alias names.
Public methodStatic memberIsAlias
Verifies that a command alias exists in Rhino.
Public methodStatic memberIsDefault
Computes a value indicating if the current alias list is the same as the default alias list.
Public methodStatic memberSetMacro
Modifies the macro of a command alias.
Public methodStatic memberToDictionary
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.

Top
See Also