Click or drag to resize

UserInterfaceObjectBaseOnRunCommand Method

Called after the above RunCommand function is called. This will be executing while inside of a Rhino command.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
protected virtual Result OnRunCommand(
	RhinoDoc doc,
	RunMode mode,
	MouseState mouse
)

Parameters

doc
Type: RhinoRhinoDoc
Document that the command is running in
mode
Type: Rhino.CommandsRunMode
Interactive or scripted mode
mouse
Type: Rhino.UIMouseState
Mouse state that was passed to RunCommand

Return Value

Type: Result
Result of the command. The default implementation returns Success
See Also