Complex UV Layout in Maya
Over the last couple of years UV layout in Maya has changed for the better. In this course we're going to be taking a look at some of those changes as we UV map an entire character
# 1 21-06-2010 , 02:34 PM
Perfecto's Avatar
Registered User
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,889

-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.


Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!
# 2 21-06-2010 , 02:53 PM
Perfecto's Avatar
Registered User
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,889
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?


Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!
# 3 21-06-2010 , 04:21 PM
bendingiscool's Avatar
Subscriber
Join Date: Jul 2006
Location: London
Posts: 567
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

# 4 21-06-2010 , 06:38 PM
Perfecto's Avatar
Registered User
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,889


Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads