RhinoApp.ExecuteCommand Method (RhinoDoc, String)

RhinoAppExecuteCommand Method (RhinoDoc, String)

Execute a Rhino command.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Result ExecuteCommand(
	RhinoDoc document,
	string commandName
)
Public Shared Function ExecuteCommand ( 
	document As RhinoDoc,
	commandName As String
) As Result

Parameters

document
Type: RhinoRhinoDoc
Document to execute the command for
commandName
Type: SystemString
Name of command to run. Use command's localized name or preface with an underscore.

Return Value

Type: Result
Returns the reult of the command.
Version Information

Rhino for Windows

Supported in: 6.8
See Also