C# Class SampleCsCommands.SampleCsSaveView

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
显示文件 Open project: mcneel/Rhino4Samples_DotNet Class Usage Examples

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
PopView ( ) : On3dmView

Pops a saved view off of the saved view stack

RunCommand ( IRhinoCommandContext context ) : IRhinoCommand.result

This gets called when when the user runs this command.

SampleCsSaveView ( ) : System

Public constructor

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

PopView() public method

Pops a saved view off of the saved view stack
public PopView ( ) : On3dmView
return On3dmView

RunCommand() public method

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

SampleCsSaveView() public method

Public constructor
public SampleCsSaveView ( ) : System
return System