Click or drag to resize

HostUtilsRegisterDynamicCommand Method

Adds a new dynamic command to Rhino.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static bool RegisterDynamicCommand(
	PlugIn plugin,
	Command cmd
)

Parameters

plugin
Type: Rhino.PlugInsPlugIn
Plugin that owns the command.
cmd
Type: Rhino.CommandsCommand
Command to add.

Return Value

Type: Boolean
true on success, false on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also