Go to: Synopsis. Return value. Flags. Python examples.
createLayeredPsdFile([imageFileName=[string, string, string]], [psdFileName=string], [xResolution=uint], [yResolution=uint])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
createLayeredPsdFile is undoable, NOT queryable, and NOT editable.
Creates a layered PSD file with image names as input to individual layersNone
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
imageFileName(ifn)
|
[string, string, string]
|
|||
|
||||
psdFileName(psf)
|
string
|
|||
|
||||
xResolution(xr)
|
uint
|
|||
|
||||
yResolution(yr)
|
uint
|
|||
|
Flag can appear in Create mode of command | Flag can appear in Edit mode of command |
Flag can appear in Query mode of command | Flag can have multiple arguments, passed either as a tuple or a list. |
import maya.cmds as cmds # Creates a layered PSD file with "Layer 1" as one of the layers. The image which # gets transfered to "Layer 1" is picked from D:/test.iff. The blend mode assigned to # is the "Normal" mode. cmds.createLayeredPsdFile( 'D:/test.psd', xr=640, yr=480, ifn=('D:/test.iff', 'Normal', 'Layer 1') )