#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 ! :)

Hello everybody, We have just released a new vers[…]

Help with swimming pool water

Nothing beats observing the real world or, if that[…]

Sketchup 2026 Released

Considering how long a version for Sketchup 2025 t[…]

Greetings, One of my users with Sketchup 2025 (25[…]