DefaultRenderer

Returns or changes Rhino's current, or default, render plug-in.  Use the PlugIns method to get a list of available render plug-ins.

Syntax

Rhino.DefaultRenderer ([strRenderer])

Parameters

strRenderer

Optional.  String.  The name of a render plug-in to set as default.

Returns

String

If a render plug-in is not specified, the name of the current render plug-in if successful.

String

If a render plug-in is specified, the name of the previous current render plug-in if successful.

Null

If not successful, or on error.

Example

Rhino.DefaultRenderer("MyRenderPlugIn")

Also See

PlugIns