M_Rhino_Commands_Command_RunCommand - mcneel/rhinocommon-api-docs GitHub Wiki

Command.RunCommand Method

Executes the command.

Namespace: Rhino.Commands
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

protected abstract Result RunCommand(
	RhinoDoc doc,
	RunMode mode
)

VB

Protected MustOverride Function RunCommand ( 
	doc As RhinoDoc,
	mode As RunMode
) As Result

Parameters

 

doc
Type: Rhino.RhinoDoc
The current document.
mode
Type: Rhino.Commands.RunMode
The command running mode.

Return Value

Type: Result
The command result code.

Version Information

Supported in: 5D58w

See Also

Reference

Command Class
Rhino.Commands Namespace

⚠️ **GitHub.com Fallback** ⚠️