Click or drag to resize
HostUtilsCreateCommands Method (IntPtr, Assembly)
Parses a plugin and create all the commands defined therein.

Namespace: Rhino.Runtime
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static int CreateCommands(
	IntPtr pPlugIn,
	Assembly pluginAssembly
)

Parameters

pPlugIn
Type: SystemIntPtr
Plugin to harvest for commands.
pluginAssembly
Type: System.ReflectionAssembly
Assembly associated with the plugin.

Return Value

Type: Int32
The number of newly created commands.
See Also