EnablePlugIn

Enables or disables a Rhino plug-in. Note, changes make to a plug-in's enabled status will not take effect until you restart Rhino.

Syntax

rhinoscriptsyntax.EnablePlugIn (plugin, enable=None)

rhinoscript.application.EnablePlugIn (plugin, enable=None)

Parameters

plugin

Required.  String or Guid.  The name or identifier of an existing plug-in.

enable

Optional.  Boolean.  The enabled status.

Returns

Boolean

If enable is not specified, then the plug-in enabled status.

Boolean

If enable is specified, then the previous plug-in enabled status.

Example

import rhinoscriptsyntax as rs

print rs.EnablePlugIn("RhinoCrasher", False)

Also See

IsPlugIn

PlugInId

PlugInIds

PlugInInfo

PlugInName

PlugIns