MEL SCRIPTS
Posted: Fri Jun 19, 2015 2:22 pm
Hi Guys,
Just a question if some one know how to access option at the shader via Mel script set atribute and other mel language give me errors when I try to change value of specular , roughness and etc the preset Tab doesn't work after all .
EX..
blendAttr "Diffuse" 0.005 0.005 0.005;
blendAttr "Specular" 1 ;
blendAttr "Roughness" 0.005;
blendAttr "FilmWidth" 0.005;
blendAttr "FilmIndex" 1.460000038;
blendAttr "Index" 1.460000038;
Is really a big thing to make work this things when we have a pipe line of presets and we can't use. I know we have Live DB but we sould be abble to access into the shaders as the same way as the other shader in maya.
no one have the magic line of mel to make work???
Best
JO
Just a question if some one know how to access option at the shader via Mel script set atribute and other mel language give me errors when I try to change value of specular , roughness and etc the preset Tab doesn't work after all .
EX..
blendAttr "Diffuse" 0.005 0.005 0.005;
blendAttr "Specular" 1 ;
blendAttr "Roughness" 0.005;
blendAttr "FilmWidth" 0.005;
blendAttr "FilmIndex" 1.460000038;
blendAttr "Index" 1.460000038;
Is really a big thing to make work this things when we have a pipe line of presets and we can't use. I know we have Live DB but we sould be abble to access into the shaders as the same way as the other shader in maya.
no one have the magic line of mel to make work???
Best
JO