Open the script window. In a Mel tab type the 2 lines below. source "location of Mel file/ninja_uv.mel"; ninja_uv(); Make sure the path is correct. Example: source "c:/tools/ninja_uv.mel"; You can then hilite the 2 lines and drag it to a shelf to create a button
there are some sccripts at scriptspot (3dsmax) that do that, maybe with some scripting expierence you can transfer some of that structure to mel. For example I had a uv-script written in mel which I never saw before and was able to learn and transfer some of the concepts of that script.
MEL and Python reference - http://download.autodesk.com/global/docs/maya2012/en_us/index.html (Under Technical Documentation. Commands is MEL) Dev C++ was a nice IDE for C++ - http://www.bloodshed.net/devcpp.html Thanks for this thread Ben. How many of you guys are enrolled for the Stanford courses?
Hey, I'm a MEL noob, so maybe someone can help me. I've got this script with two procedures. One is global, and it creates the window with my fields and buttons the other one is the action that runs when you hit the apply-button. I thought I'd make the second one local, but it doesn't work. Tried adding it before the…