PlugIns

Returns a list of registered Rhino plug-ins.

Syntax

rhinoscriptsyntax.PlugIns (types=0, status=0)

rhinoscript.application.PlugIns (types=0, status=0)

Parameters

types

Optional.  Number. The type or types of plug-ins to return.  Plug-in types can be added together to filter several different kinds of plug-ins.  If omitted, all plug-in types are returned.

Value

Description

0

All plug-ins

1

Render plug-ins

2

File export plug-ins

4

File import plug-ins

8

Digitizer plug-ins

16

Utility plug-ins

status

Optional.  Number.  The status, either loaded or unloaded, of the plug-ins to return.  If omitted, both loaded and unloaded plug-ins are returned.

Value

Description

0

Both loaded or unloaded plug-ins..

1

Loaded plug-ins.

2

Unloaded plug-ins.

Returns

List

A list of strings describing the plug-ins if successful.

Example

import rhinoscriptsyntax as rs

plugins = rs.PlugIns(0, 1)

for plugin in plugins: print plugin