Go to: Synopsis. Return value. Flags. MEL examples.
launchImageEditor [-editImageFile string] [-viewImageFile string]
[filename]
launchImageEditor is undoable, NOT queryable, and NOT editable.
Launch the appropriate application to edit/view the image files specified. This command works only on the Macintosh and Windows platforms.None
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-editImageFile(-eif)
|
string
|
|||
|
||||
-viewImageFile(-vif)
|
string
|
|||
|
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. |
// Create a blinn shader with a psd file texture. shadingNode -asShader blinn; sets -renderable true -noSurfaceShader true -empty -name "blinn1SG"; connectAttr -f blinn1.outColor blinn1SG.surfaceShader; shadingNode -asTexture psdFileTex; connectAttr -f psdFileTex1.outColor blinn1.color; setAttr psdFileTex1.fileTextureName -type "string" "C:/test.psd"; // Create a poly plane, and assign the blinn shader to it. polyPlane -w 10 -h 10 -sx 10 -sy 10 -n pPlane1; sets -e -forceElement blinn1SG; // Now you can launch Photoshop to edit this psd texture file launchImageEditor -eif `getAttr psdFileTex1.fileTextureName`;