GetPlugInObject

Returns a scriptable object from a specified plug-in. Note, not all plug-ins contain scriptable objects. Check with the manufacturer of your plug-in to see if they support this capability.

Syntax

rhinoscriptsyntax.GetPlugInObject( plug_in )

rhinoscript.application.GetPlugInObject( plug_in )

Parameters

plug_in

Required.  String or Guid.  The name or Id of a registered plug-in that supports scripting.  If the plug-in is registered but not loaded, it will be loaded.

Returns

Object

A scriptable object if successful.

Example

import rhinoscriptsyntax as rs

objPlugIn = rs.GetPlugInObject("SomePlugIn")

if objPlugIn is not None:

    print objPlugIn.About()