pymel.core.rendering.preferredRenderer

preferredRenderer(*args, **kwargs)

Command to set the preferred renderer. This command also allows you to query the preferred renderer and to set the current renderer equal to the preferred renderer. It also allows users to specify a preferred fallback renderer. In query mode, return type is based on queried flag.

Flags:

Long Name / Short Name Argument Types Properties
fallback / f unicode ../../../_images/create.gif ../../../_images/query.gif
  Sets the preferred fallback renderer.
makeCurrent / mc bool ../../../_images/create.gif
  Sets the current renderer equal to the preferred one. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.preferredRenderer