View Full Version : newbie MEL: where is the default folder for mel script for mac?
03-24-2010, 05:32 PM
I am download a mel script, but I am not sure where to put them.
I try to put it under Documents/Maya/Scripts and Users/Shared/Autodesk/Maya/Scripts
it doesn't seem to work..
I tried to follow the instruction, but it seems pretty vague
Place it in mayax.xsripts <--- (thats doesn't mean anything to me)
Even You Can create MEL Script Button in the Shelf as
I am a really dummy when it comes to programming, please help me :)
03-24-2010, 06:08 PM
go to the Finder and hit command-G and enter this:
there are a bunch of places you can put scripts but it's best to separate them by version.
03-24-2010, 06:23 PM
Are these folders created by default, because they don't exist. :(
Should I try to create them?
03-24-2010, 06:34 PM
when you type in "source (mel scipt name).mel;
does it automatically look up these folders? or I need to specify its directory?
03-24-2010, 06:37 PM
Yes, that is the default Maya Preferences folder. Be sure you're looking in the USER Library (the one with the little House Icon), and not the System Library.
03-24-2010, 06:45 PM
this is very confusing for me :( I have placed copies of the mel script everywhere possible
I am still getting this message:
// Error: Cannot find procedure "bc_BatchRenderView.mel".
I assume when the script is placeed correctly, all I need to do is type in the script name and it will work automatically right?
03-24-2010, 06:51 PM
Maya only checks for the scripts on startup, so you have to either restart Maya or type "rehash;"
03-24-2010, 07:24 PM
I have tried that as well
There is either something wrong with my version of maya, or I am very dump :S
I have placed a copy of the bc_BatchRenderView.mel under all of these folders
and I save these commands under a shelf button
none of them would work. is there any settings that would cause this?
03-24-2010, 07:29 PM
ok - I just found the script on creativecrash and it's a problem with the script: the global proc name is different from the file name (commands are case sensitive) so you need to type this:
source bc_batchRenderView; bc_batchRenderView;
and it should work:
and you put the script in every folder but the one I recommended :p
The shared scripts folder gets really crowded with BonusTools and stuff like that. You should just use the one in your home folder library.
03-24-2010, 07:40 PM
it worked :) !!! Thanks a bunch
03-24-2010, 07:40 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2015, Jelsoft Enterprises Ltd.