Creates a layered PSD file with image names as input to individual layers
Dynamic library stub function
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
imageFileName (ifn) | unicode, unicode, unicode | ||
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) | unicode | ||
|
|||
xResolution (xr) | int | ||
|
|||
yResolution (yr) | int | ||
|
Derived from mel command maya.cmds.createLayeredPsdFile
Example:
import pymel.core as pm
# 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.
pm.createLayeredPsdFile( 'D:/test.psd', xr=640, yr=480, ifn=('D:/test.iff', 'Normal', 'Layer 1') )