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

rhinoscriptsyntax.DefaultRenderer( renderer=None )

rhinoscript.application.DefaultRenderer( renderer=None )

Parameters

renderer

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.

Example

import rhinoscriptsyntax as rs

rs.DefaultRenderer("MyRenderPlugIn")

Also See

PlugIns