Click or drag to resize
SelCommand Class
For adding nestable selection commands that work like the native Rhino SelCrv command, derive your command from SelCommand and override the virtual SelFilter function.
Inheritance Hierarchy

Namespace: Rhino.Commands
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public abstract class SelCommand : Command

The SelCommand type exposes the following members.

Constructors
  NameDescription
Protected methodSelCommand
Initializes a new instance of the SelCommand class
Top
Properties
  NameDescription
Public propertyBeQuiet
Protected propertyCommandContextHelpUrl
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.

(Inherited from Command.)
Public propertyEnglishName
Gets the name of the command. This method is abstract.
(Inherited from Command.)
Public propertyId
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
(Inherited from Command.)
Public propertyLocalName
Gets the local name of the command.
(Inherited from Command.)
Public propertyPlugIn
Gets the plug-in where this commands is placed.
(Inherited from Command.)
Public propertySettings
Gets the settings of the command.
(Inherited from Command.)
Public propertyTestGrips
Public propertyTestLights
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnHelp
Is called when the user needs assistance with this command.
(Inherited from Command.)
Protected methodReplayHistory
Repeats an operation of a command.
(Inherited from Command.)
Protected methodRunCommand (Overrides CommandRunCommand(RhinoDoc, RunMode).)
Protected methodSelFilter
Override this virtual function and return true if object should be selected.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also