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 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 Specify a camera renderLayer / l unicode Specify a renderer layer renderPass / p unicode 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')