C# Class SampleCsCommands.SampleCsBlock

A Rhino.NET plug-in can contain as many MRhinoCommand derived classes as it wants. DO NOT create an instance of this class (this is the responsibility of Rhino.NET.)
Inheritance: RMA.Rhino.MRhinoCommand
Afficher le fichier Open project: mcneel/Rhino4Samples_DotNet

Méthodes publiques

Méthode Description
CommandUUID ( ) : System.Guid

Rhino tracks commands by their unique ID. Every command must have a unique id. The Guid created by the project wizard is unique. You can create more Guids using the "Create Guid" tool in the Tools menu.

EnglishCommandName ( ) : string
RunCommand ( IRhinoCommandContext context ) : IRhinoCommand.result

This gets called when when the user runs this command.

Private Methods

Méthode Description
CreateInstanceDefinition ( MRhinoDoc doc, IOnInstanceDefinition idef, IOn3dPoint point, List objects, bool bQuietly ) : int
GetUnusedInstanceDefinitionName ( MRhinoDoc doc ) : string

Method Details

CommandUUID() public méthode

Rhino tracks commands by their unique ID. Every command must have a unique id. The Guid created by the project wizard is unique. You can create more Guids using the "Create Guid" tool in the Tools menu.
public CommandUUID ( ) : System.Guid
Résultat System.Guid

EnglishCommandName() public méthode

public EnglishCommandName ( ) : string
Résultat string

RunCommand() public méthode

This gets called when when the user runs this command.
public RunCommand ( IRhinoCommandContext context ) : IRhinoCommand.result
context IRhinoCommandContext
Résultat IRhinoCommand.result