mel usage with octane materials
Posted: Wed Jan 29, 2014 3:55 pm
Hello,
How can I get an atribute value (getAttr) or set an atribute value (setAttr) in octane material using mel?
for example:
getAttr "Gold_White_Logo.Specular";
I get: // Error: line 1: The data is not a numeric or string value, and cannot be displayed. //
or
setAttr "Gold_White_Logo.Specular" 0.8;
I get: // Error: line 1: setAttr: 'Gold_White_Logo.Specular' is not a simple numeric attribute. Its values must be set with a -type flag. //
I tried to use the `-type octaneTextureData` flag, but it did not worked for me.
what is the right syntax? where can I get more information about utilizing octane with mel the right way?
Thanks
Ethan
How can I get an atribute value (getAttr) or set an atribute value (setAttr) in octane material using mel?
for example:
getAttr "Gold_White_Logo.Specular";
I get: // Error: line 1: The data is not a numeric or string value, and cannot be displayed. //
or
setAttr "Gold_White_Logo.Specular" 0.8;
I get: // Error: line 1: setAttr: 'Gold_White_Logo.Specular' is not a simple numeric attribute. Its values must be set with a -type flag. //
I tried to use the `-type octaneTextureData` flag, but it did not worked for me.
what is the right syntax? where can I get more information about utilizing octane with mel the right way?
Thanks
Ethan