Your Ad Here

Go to: Synopsis. Flags. Return value.

Synopsis

psdEditTextureFile([addChannel=string], [addChannelColor=[string, int, int, int]], [addChannelImage=[string, string]], [deleteChannel=string], [psdFileName=string], [snapShotImage=string], [uvSnapPostionTop=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

psdEditTextureFile is undoable, queryable, and editable.

Edits the existing PSD file. Addition and deletion of the channels (layer sets) are supported.

Flags

addChannel, addChannelColor, addChannelImage, deleteChannel, psdFileName, snapShotImage, uvSnapPostionTop
Long name (short name) [argument types] Properties
addChannel(adc) string create
Adds an empty layer set with the given name to a already existing PSD file.
addChannelImage(aci) [string, string] create
(M) Specifies the image file name whose image needs to be added as a layer to a given layer set which is the first string.
addChannelColor(acc) [string, int, int, int] create
(M) Specifies the filled color of the layer which is created in a layer set given by the layer name.
snapShotImage(ssi) string create
Image file name on the disk containing UV snapshot / reference image.
uvSnapPostionTop(uvt) boolean create
Specifies the position of UV snapshot image layer in the PSD file. "True" positions this layer at the top and "False" positions the layer at the bottom next to the background layer in the PSD file
psdFileName(psf) string create
PSD file name.
deleteChannel(deleteChannel) string create
(M) Deletes the channels (layer sets) from a PSD file. This is a multiuse flag.

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.

Return value


nothing

Return to Autodesk Index


Your Ad Here