Click or drag to resize
HostUtilsRegisterDynamicCommand Method
Adds a new dynamic command to Rhino.

Namespace: Rhino.Runtime
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
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.
See Also