Click or drag to resize

RhinoAppExecuteCommand Method (RhinoDoc, String)

Execute a Rhino command.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
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 reult of the command.
Version Information

Rhino for Windows

Supported in: 6.1 BETA
See Also