RhinoCommon API
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
public static PlugIn CreatePlugIn( Type pluginType, bool printDebugMessages )
Public Shared Function CreatePlugIn ( pluginType As Type, printDebugMessages As Boolean ) As PlugIn
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: PlugInA new plug-in instance.