we have local userSetup run a global userSetupAll

This way we can have local functions run together with functions that are
global for every one.

yury




On Fri, Aug 7, 2009 at 7:44 AM, sberger <[email protected]> wrote:

>
> Hi, I have this setup for Maya 2009
>
> My user Pref are localed on the network m:\profiles\sylvain.berger\maya
> \...
> in these user pref I have a maya.env file that add a network
> MAYA_SCRIPT_PATH=m:\library\maya\scripts\
>
> when I put the userSetup.py in the MAYA_SCRIPT_PATH location it
> doesn't get executed,
> it only runs when it is in the scripts folder of my maya pref folder
>
> I also have a PYTHONPATH in my maya.env file, and puting the
> userSetup.py file there doesn't work as well.
>
> It only runs when it is in my pref folder.
>
> did anyone know how to get the userSetup.py to work outside the pref
> folder?  I would like to have a userSetup.py global to all user...  I
> think I could revert to using a userSetup.mel and call my userSetup.py
> from the mel file... but it is not clean and I hate things that are
> messy :)
>
> Thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to