Login - Become a member

how can I change the default shader color on startup

Forums home -> Maya -> how can I change the default shader color on startup

post reply

how can I change the default shader color on startup 
By cyrrix on Jul 27, 2004 02:27 PM
HI guys, my question is:
how can I change the default lambert1 shader color to be anyother than gray. for example I want it to be lightblue everytime I open maya.

I looked around all the setting but could not find it.

thanks

I' using maya 6
Reply with quote
 
By Mikademius on Mar 30, 2005 12:38 PM
That would be maya-api I think. You could script it so you have an icon on your shelf so you do not hav to do it manually every time though.

Code would look like this:


select -r lambert1;
setAttr "lambert1.color" -type double3 1 0 0;


After double3 you have three numbers. These are RGB 0-1 values. You simply replace them with the RBG values of your light Blue.
Hope that can be an acceptable substitute...
Reply with quote

post reply

Page 1 of 1 Go to page: 1
Subscribe to RSS
Follow us on Twitter

 

Copyright © 1996-2010 Raphael Benedet - Contact Us