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
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
ok sorry about the previous post because i did that on my android. source "/Users/Shared/Autodesk/maya/2013/scripts/Ninja_UV.mel"; Ninja_UV(); mel is case sensitive.
Ok, this is what I currently have on my Mel Script Editor window.. I copied the location directly from the file info. source "/Users/Shared/Autodesk/maya/2013/scripts/Ninja_UV.mel"; ninja_uv(); I get the following error message when I press the execute button. source "/Users/Shared/Autodesk/maya/2013/scripts/Ninja_UV.mel";…