Click or drag to resize

HostUtilsCreatePlugIn Method

Instantiates a plug-in type and registers the associated commands and classes.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static PlugIn CreatePlugIn(
	Type pluginType,
	bool printDebugMessages
)

Parameters

pluginType
Type: SystemType
A plug-in type. This type must derive from PlugIn.
printDebugMessages
Type: SystemBoolean
true if debug messages should be printed.

Return Value

Type: PlugIn
A new plug-in instance.
See Also