SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Animation / Mel Scripts & Programming / -saveSwatches(-ss)
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 21-06-2010, 02:34 PM   #1
Perfecto
Registered User
 
Perfecto's Avatar
 
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,882
Thanks: 8
Thanked 127 Times in 119 Posts
Default -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!
Perfecto is offline   Reply With Quote
Old 21-06-2010, 02:53 PM   #2
Perfecto
Registered User
 
Perfecto's Avatar
 
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,882
Thanks: 8
Thanked 127 Times in 119 Posts
Default

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!
Perfecto is offline   Reply With Quote
Old 21-06-2010, 04:21 PM   #3
bendingiscool
Subscriber
 
bendingiscool's Avatar
 
Join Date: Jul 2006
Location: London
Posts: 567
Thanks: 0
Thanked 1 Time in 1 Post
Default

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
bendingiscool is offline   Reply With Quote
Old 21-06-2010, 06:38 PM   #4
Perfecto
Registered User
 
Perfecto's Avatar
 
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,882
Thanks: 8
Thanked 127 Times in 119 Posts
Default

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
__________________
Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!
Perfecto is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.