PDA

View Full Version : noob: how to source a mel from the Maya.env


mimo8
09-17-2004, 11:13 AM
I found this verry great script called: "HKmagnetTool"
only thing that bother is that I have to source it every time I restart maya.
this can be done by the Mava.env

I added following lines to the Maya.env (OSX) but this doesnt do the trick

/Users/mimo/Library/Preferences/Alias/maya/scritps/HKMagnetTool;


is there something missing like
MAYA_SCRIPT_PATH =
in front of the path?


perhaps someone sees the prob
thx people

GDC
09-17-2004, 02:53 PM
I wouldn't do this in your Maya.env. Instead I'd use your userSetup.mel. This file should be
located in ~/maya/5.0/scripts (or anywhere in your MAYA_SCRIPT_PATH). If you don't have one, just make it and put this in it:

source "/Users/mimo/Library/Preferences/Alias/maya/scritps/HKMagnetTool.mel";


--g

mimo8
09-18-2004, 09:29 PM
thnx ... thats it

I allready had it but seem to have forgotten it
cheers

CGTalk Moderation
01-19-2006, 06:00 AM
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.