While they added your tool to their tool, i really think they'll be ok to increase the complementarity of both (dDo become better with your script) ! I know a bit Teddy and he's a smart guy he'll understand that !
ya has nothing to do with the file location on line 116, and 117 there is a variable that is used but not defined anywhere, from his code i cant really tell if it was supposed to be a argument, or a global variable from a other procedure.
ya has nothing to do with the file location on line 116, and 117 there is a variable that is used but not defined anywhere, from his code i cant really tell if it was supposed to be a argument, or a global variable from a other procedure.
I'm self-taught in MEL/programming so I don't know the best or correct way to organize code heh
Line 116 and 117 were the problems, it was calling a global variable that wasn't defined inside the procedure. I have updated the link and it should work now! Sorry about that.
ya your doing good making something like this if your just starting to get familiar with mel.
as far as code organization, you should be trying to use global variables less, and use function arguments and returns in there place, This makes it easier to read the code, and also prevents conflicts with pre-existing global vars from maya or other scripts.
Thanks Dennis the script worked flawlessly. I use Maya 2013 on Mac OSX as this is the only Maya License I have and your plugin worked right out of the box. I then ported the resulting maps and meshes to my cloud then brought them down to a Windows machine to get the Photoshop/Xnormal/nDO/DDO/Marmoset magic performed... The script saves me a lot of time browsing the Hypershade and Hotbox to assign the Mats...
Replies
is a great tool.used it every day.
thanks
Get the update here.
Hey,
For some reason I'm getting this error when I try to load the script:
Error: "C:/Users/xxx/Documents/maya/2014-x64/scripts/materialList_2013.mel" line 117.23: "$object" is an undeclared variable. //
It's not happening with the previous version
P.S: I tried putting it in the 2014-x64/scripts and prefs/scripts folder. Nothing changed.
I'm self-taught in MEL/programming so I don't know the best or correct way to organize code heh
Line 116 and 117 were the problems, it was calling a global variable that wasn't defined inside the procedure. I have updated the link and it should work now! Sorry about that.
Latest Version Here
as far as code organization, you should be trying to use global variables less, and use function arguments and returns in there place, This makes it easier to read the code, and also prevents conflicts with pre-existing global vars from maya or other scripts.
Just Awesome... Thanks again man...