Click or drag to resize

RhinoAppExecuteCommand Method

Execute a Rhino command.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public static Result ExecuteCommand(
	RhinoDoc document,
	string commandName
)

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 result of the command.
See Also