View Full Version : How To Load .mel?
JaysonMartinez 06-20-2009, 12:36 AM Hi,
Can anyone help me how to load this spinFaces.mel into Maya 8.5 properly?
Because I get the following error message:
//Error: Cannot find procedure "SpinFaces"
Thanks in advance
~JaysonMartinez
spinFaces.mel (http://www.2shared.com/file/6378376/1d5c01e7/spinFaces.html)
| |
GrogMcGee
06-21-2009, 02:48 AM
you need to source the script - maya automatically sources scripts from the user/my documents/maya/[version]/scripts folder. Otherwise when you open the maya just open the script editor and choose source script from the file menu.
JaysonMartinez
06-21-2009, 05:36 AM
Hi GrogMcGee,
Thanks for your info but it doesn't work.
I already copy the file into the folder you mentioned but it still showing the same error message.
Can anyone help me on this?
Thanks in advance
~JaysonMartinez
GrogMcGee
06-21-2009, 03:00 PM
for the command someCommand I beleive the script it is called from needs to be in the form:
global proc someCommand() {
//commands
}
JaysonMartinez
06-21-2009, 03:45 PM
What does it means?
~JaysonMartinez
GrogMcGee
06-21-2009, 06:21 PM
the script must not be sourced if it's not working for you. I just downloaded it and stuck it in my user/my documents/maya/2008/scripts and loaded maya and ran the script by typeing spinFaces into the command line.
Have manually sourced the script? Open the script editor -> file -> source script
vBulletin v3.0.5, Copyright ©2000-2009, Jelsoft Enterprises Ltd.