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