SelCommand Methods |
The SelCommand type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnHelp |
Is called when the user needs assistance with this command.
(Inherited from Command.) | |
ReplayHistory |
Repeats an operation of a command.
(Inherited from 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. | |
RunCommand | (Overrides CommandRunCommand(RhinoDoc, RunMode).) | |
SelFilter |
Override this abstract function and return true if object should be selected.
| |
SelSubObjectFilter |
To select subobjects, override this virtual function, add component indices of the subobjects that
should get selected to indicesToSelect list and return true.
This is called only if the SelFilter returns false and the whole object does not get selected.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |