The Command type exposes the following members.
Default protected constructor. It only allows instantiation through sub-classing.
Gets the URL of the command contextual help. This is usually a location of a local CHM file.
The default implementation return an empty string.
Gets the name of the command. This method is abstract.
Gets the unique ID of this command. It is best to use a Guid attribute for each custom derived command class since this will keep the id consistent between sessions of Rhino GuidAttribute
Gets the ID of the last commands.
Gets the result code of the last command.
Gets the local name of the command.
Gets the plug-in where this commands is placed.
Gets the settings of the command.
Displays help for a command.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Gets list of command names in Rhino. This list does not include Test, Alpha, or System commands.
Determines if Rhino is currently running a command. Because Rhino allow for transparent commands (commands that can be run from inside of other commands), this method returns the total ids of active commands.
Serves as the default hash function.(Inherited from Object.)
Gets an array of most recent command descriptions.
Gets the Type of the current instance.(Inherited from Object.)
Determines if Rhino is currently running a command.
This is a low level tool to determine if Rhino is currently running a script running command like "ReadCommandFile" or the RhinoScript plug-in's "RunScript".
Determines is a string is a command.
Determines if a string is a valid command name.
Returns the ID of a command.
Returns the command name given a command ID.
Creates a shallow copy of the current Object.(Inherited from Object.)
Is called when the user needs assistance with this command.
Repeats an operation of a command.
In order to make this function work, you will likely need to grab the Result property that gives the list of input objects. Then, you will be able to replace these inputs by using one of the UpdateToX() methods of the ReplayHistoryResult.
You should NOT use any document AddX() or ReplaceX() functions, as they will break history.
Executes the command.
Execute some code as if it were running in a command
Returns a string that represents the current object.(Inherited from Object.)
Called just before command.RunCommand().
Called immediately after command.RunCommand().
Used to monitor Rhino's built in undo/redo support.