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. Flag can have multiple arguments, passed either as a tuple or a list. |
|||
camera / c | unicode | ![]() |
|
|
|||
renderLayer / l | unicode | ![]() |
|
|
|||
renderPass / p | unicode | ![]() |
|
|
Derived from mel command maya.cmds.frameBufferName
Example:
import pymel.core as pm
pm.frameBufferName(renderLayer='layer1', renderPass='renderPass1', camera='camera1')