C# Class SampleCsObjectManager.SampleCsObjectManagerCommand

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.) A command wizard can be found in visual studio when adding a new item to the project.
Inheritance: RMA.Rhino.MRhinoCommand
Datei anzeigen Open project: mcneel/Rhino4Samples_DotNet

Public Methods

Method 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.

Method Details

CommandUUID() public method

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
return System.Guid

EnglishCommandName() public method

public EnglishCommandName ( ) : string
return string

RunCommand() public method

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