- Tue Feb 21, 2012 10:37 pm
#353068
hi !
[maya 2012 win7 64]
there seems to be a refresh issue.
can I somewhat refresh that fileInNode via MEL so I can bypass this issue ?
thanks for any input !
[maya 2012 win7 64]
Code: Select all
if I am using this code to create a fileIn node, I cannot directly set the maxwell image controls attrs. But once I set the value manually (there's a little hiccup too), also the MEL code works.string $colorNinetyDegNode = `createFileInNode`;
setAttr ($colorNinetyDegNode + ".mxBrightness") 20;
global proc string createFileInNode()
{
shadingNode -asTexture file;
string $nodeNameArr[] = `ls -sl -fl`;
$name = $nodeNameArr[0];
return $name;
}
there seems to be a refresh issue.
can I somewhat refresh that fileInNode via MEL so I can bypass this issue ?
thanks for any input !
