Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Programming (https://simplymaya.com/forum/forumdisplay.php?f=32)
-   -   -saveSwatches(-ss) (https://simplymaya.com/forum/showthread.php?t=34171)

Perfecto 21-06-2010 02:34 PM

-saveSwatches(-ss)
 
I need to make some swatches out of some images but I don't know how to use the mel command to do that.

-saveSwatches(-ss)
Save swatches to disk for currently displayed image files.

Can someone give me a step by step as I'm pretty clueless with mel.

I've tried opening the image folder with visor and type -saveSwatches, -saveSwatch, -saveSwatches(-ss), etc and nothing worked.

I tried opening the image folder with Hypershade and still couldn't figure it out.

Perfecto 21-06-2010 02:53 PM

I also tried

sysFile -saveSwatches "<filepath>"

and

sysFile -saveSwatch "<filepath>"

but they both say invalid flags. Does that mean -saveSwatches is no longer a valid command?

bendingiscool 21-06-2010 04:21 PM

When I checked the command you were trying, the flag you were using is not there. The command as a whole does not appear to be related to swatch based stuff.

Have a look at the command 'swatchDisplayPort', it gives you an example of how to show swatches.

cheers,
Chris

Perfecto 21-06-2010 06:38 PM

I figured out a way to convert image files into swatch image files.

The answer is in this thread, page 4 near the bottom.

http://srv01.simply3dworld.com/showt...258#post305258


All times are GMT. The time now is 03:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018