pymel.core.rendering.frameBufferName

frameBufferName(*args, **kwargs)

Returns the frame buffer name for a given renderPass renderLayer and camera combination. Optionally, this command can apply a name truncation algorithm so that the frameBuffer name will respect the maximum length imposed by the destination file format, if applicable.

Flags:

Long Name / Short Name Argument Types Properties
autoTruncate / a bool ../../../_images/create.gif
  use this flag to apply a name truncation algorithm so that the frameBuffer name will respect the maximum length imposed by the destination file format, if applicable.
camera / c unicode ../../../_images/create.gif
  Specify a camera
renderLayer / l unicode ../../../_images/create.gif
  Specify a renderer layer
renderPass / p unicode ../../../_images/create.gif
  Specify a renderer pass Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.frameBufferName

Example:

import pymel.core as pm

pm.frameBufferName(renderLayer='layer1', renderPass='renderPass1', camera='camera1')