RhinoCommon API
HostUtilsCreateCommands Method (IntPtr, Assembly) |
Parses a plugin and create all the commands defined therein.
Namespace: Rhino.Runtime
Assembly: RhinoCommon (in RhinoCommon.dll)

public static int CreateCommands( IntPtr pPlugIn, Assembly pluginAssembly )
Public Shared Function CreateCommands ( pPlugIn As IntPtr, pluginAssembly As Assembly ) As Integer
Parameters
- pPlugIn
- Type: SystemIntPtr
Plugin to harvest for commands. - pluginAssembly
- Type: System.ReflectionAssembly
Assembly associated with the plugin.
Return Value
Type: Int32The number of newly created commands.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14