Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

createLayeredPsdFile [-imageFileName string string string] [-psdFileName string] [-xResolution uint] [-yResolution uint]

createLayeredPsdFile is undoable, NOT queryable, and NOT editable.

Creates a layered PSD file with image names as input to individual layers

Return value

None

Flags

imageFileName, psdFileName, xResolution, yResolution
Long name (short name) Argument types Properties
-xResolution(-xr) uint create
X - resolution of the image.
-yResolution(-yr) uint create
Y - resolution of the image.
-imageFileName(-ifn) string string string createmultiuse
Layer name, blend mode, Image file name The image in the file will be transferred to layer specified. The image file specified can be in any of the formats supported by maya (ex. iff, jpg, gif, tif etc.). The blend mode options are : "Normal", "Dissolve", "Dark", "Multiply", "Color Burn", "Linear Burn", "Lighten", "Screen", "Color Dodge", "Linear Dogde", "Overlay", "Soft Light", "Hard Light", "Dissolve", "Vivid Light", "Linear Light", "Pin Light", "Hard Mix", "Difference", "Exclusion", "Hue", "Saturation", "Color", "Luminosity"
-psdFileName(-psf) string create
PSD file name.

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 be used more than once in a command.

MEL examples

// 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.
createLayeredPsdFile -xr 640 -yr 480 -ifn "Layer 1" "Normal" "D:/test.iff" -psf "D:/test.psd";