PDA

View Full Version : custom script folder ignored!


alredha
06-02-2012, 01:13 AM
Hi everyone,

i know that this question was asked million times, but in all the threads the solution was good for the poster not for me!

i've written a bunch of scripts and as i want to avoid the mess, i put them in a custom folder inside /maya/version/scripts. Then modified the maya.env file (it is empty) and put this line:

MAYA_SCRIPTS_PATH = C:\Users\myname\Documents\maya\2013-x64\scripts\folder


i restart maya, source file.mel i get an error:

// Error: source file.mel; //
// Error: Cannot find file "file.mel" for source statement. //

i check my env path with : getenv MAYA_SCRIPTS_PATH
my custom path is not there in the returned list.

i used slashes, back slashes, doubled them....no result.

am i missing something?

zoharl
06-02-2012, 08:08 AM
You have a misspell: MAYA_SCRIPT_PATH

alredha
06-02-2012, 10:58 AM
You have a misspell: MAYA_SCRIPT_PATH

:surprised a simple S ruined all my day. As i'm following religiously "Complete Maya Programming" Book, it is written SCRIPTS with S :curious:

Thank you anyway, it's woking now

CGTalk Moderation
06-02-2012, 10:58 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.