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.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

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

Derived from mel command maya.cmds.frameBufferName

Example:

import pymel.core as pm

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