#353068
hi !

[maya 2012 win7 64]

Code: Select all
string $colorNinetyDegNode = `createFileInNode`;
setAttr ($colorNinetyDegNode + ".mxBrightness") 20;


global proc string createFileInNode()
{
    shadingNode -asTexture file;
    string $nodeNameArr[] = `ls -sl -fl`;
    $name = $nodeNameArr[0];
    return $name;
}


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.

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 ! :)
Sketchup 2025 Released

Thank you Fernando!!!!!!!!!!!!!!!!!!!!!!!!!!! hwol[…]

I've noticed that "export all" creates l[…]

hmmm can you elaborate a bit about the the use of […]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]