HostUtilsRegisterDynamicCommand Method |
Adds a new dynamic command to Rhino.
Namespace:
Rhino.Runtime
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static bool RegisterDynamicCommand(
PlugIn plugin,
Command cmd
)
Public Shared Function RegisterDynamicCommand (
plugin As PlugIn,
cmd As Command
) As Boolean
Parameters
- plugin
- Type: Rhino.PlugInsPlugIn
Plugin that owns the command. - cmd
- Type: Rhino.CommandsCommand
Command to add.
Return Value
Type:
Booleantrue on success, false on failure.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also