RhinoCommon API
RhinoAppExecuteCommand Method (RhinoDoc, String) |
Execute a Rhino command.
Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll)

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: ResultReturns the reult of the command.

Rhino for Windows
Supported in: 6.8