Home || 3d || Workflow Tips

Workflow Tips


(Click on the links to expand the tips)

A method of organizing (adding subfolders) to your scripts folder

Here is a tip I got from Don3Don at CGTalk. It allows you to sort and organize your maya scripts into logical subfolders.
Firstly, use a variable to store your path (mpS) in this case.

for example: Lets say the variable is "mpS_"
This would end up being -> mpS_=%USERPROFILE%\My Documents\maya\7.0\scripts

Then add "MAYA SCRIPT PATH=$mpS_;$mpS_\subfolder1;$mpS_\subfolder2;" etc.

Note that you can add as many subfolders as you want, but be sure that you do not have any spaces in the argument.
Here is an example of a final MAYA.ENV file...
//=================================================
mpS_=%USERPROFILE%\My Documents\maya\7.0\scripts
mpP_=%USERPROFILE%\My Documents\maya\7.0\plugins
mpI_=%USERPROFILE%\My Documents\maya\7.0\prefs\icons

MAYA_SCRIPT_PATH = $mpS_\model;$mpS_\model\cps;$mpS_\light;$mpS_\dyna mic;$mpS_\shader;$mpS_\animation;$mpS_\!3don;$mpS_ \centro;$mpS_\bonusGame50;$mpS_\light\lightGirl;$m pS_\animation\poseStudio;$mpS_\misc\xyScript;$mpS_ \misc;$mpS_\misc\ptb;

MAYA_PLUG_IN_PATH = $mpP_;

XBMLANGPATH = $mpI_\3don_icons;$mpI_\cps;$mpI_\ptb;
//=================================================