Go to: Synopsis. Flags. Return value.
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.
addChannel, addChannelColor, addChannelImage, deleteChannel, psdFileName, snapShotImage, uvSnapPostionTop
| Long name (short name) |
[argument types] |
Properties |
addChannel(adc)
|
string
|
|
|
Adds an empty layer set with the given name to a already existing PSD file.
|
|
addChannelImage(aci)
|
[string, string]
|
|
|
(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]
|
|
|
(M) Specifies the filled color of the layer which is created in a layer set given
by the layer name.
|
|
snapShotImage(ssi)
|
string
|
|
|
Image file name on the disk containing UV snapshot / reference image.
|
|
uvSnapPostionTop(uvt)
|
boolean
|
|
|
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
|
|
|
|
deleteChannel(deleteChannel)
|
string
|
|
|
(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.
|
nothing
Return to Autodesk Index