TransformCommand Class

TransformCommand Class

[Missing <summary> documentation for "T:Rhino.Commands.TransformCommand"]

Inheritance Hierarchy
SystemObject
  Rhino.CommandsCommand
    Rhino.CommandsTransformCommand

Namespace:  Rhino.Commands
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public abstract class TransformCommand : Command
Public MustInherit Class TransformCommand
	Inherits Command

The TransformCommand type exposes the following members.

Constructors
  NameDescription
Protected methodTransformCommand
Initializes a new instance of the TransformCommand class
Top
Properties
  NameDescription
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.)
Top
Methods
  NameDescription
Protected methodDuplicateObjects
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (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.

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.

(Inherited from Command.)
Protected methodResetGrips
Sets dynamic grip locations back to starting grip locations. This makes things like the Copy command work when grips are "copied".
Protected methodRunCommand
Executes the command.
(Inherited from Command.)
Protected methodSelectObjects(String, TransformObjectList)
Selects objects within the command.
Protected methodSelectObjects(String, ObjectType, TransformObjectList)
Selects objects within the command.
Public methodToString (Inherited from Object.)
Protected methodTransformObjects
Top
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also