Hello People,
I also did the update local shelves script =(, but what i ended up doing,
is creating a shelf layout of my own where i load the shared shelves. Most
of the shelf functionality is easy to reproduce, and you can add stuff like
selective loading
if you like.
Cheers!
Eduardo


On Tue, Jul 22, 2014 at 5:07 PM, Risto Jankkila <[email protected]>
wrote:

> Problem with loading shelves from shared location is that Maya likes to
> save local copies of them. Usually that means people easily end up using a
> local copy of the shelf instead of the one in shared location.
>
> I once had write a Python script for automatically updating shelves from
> shared location. It took me days to reverse engineer all that mel code from
> mid 90's and make sure Maya loads the correct shelves, removes local
> copies, updates optionVars etc. What a nightmare.
>
> Cheers,
> Risto
>
>
>
> On Wed, Jul 16, 2014 at 6:20 PM, Gabriele Bartoli <
> [email protected]> wrote:
>
>> Hi, this is the code I use for my Maya.env accross multiple machines, to
>> keep stuff in sync using Google Drive. It is not exactly a network
>> repository but it gets the job done :P
>>
>> // Note: shelves appear to not work properly (load but empty) if
>> MAYA_SHELF_PATH
>> //is not defined before MAYA_SCRIPT_PATH */
>>
>>
>> //Windows syntax
>>
>>
>> //SHARED_PATH = D:\GoogleDrive\Maya\shared_folder
>> //MAYA_SHELF_PATH = %SHARED_PATH%\shelves
>> //MAYA_SCRIPT_PATH = %SHARED_PATH%\scripts
>> //XBMLANGPATH = %SHARED_PATH%\icons
>> //PYTHONPATH = %SHARED_PATH%\pythonpath
>>
>>
>> //Mac syntax
>>
>> SHARED_PATH = /Users/Gabriele/GoogleDrive/Maya/shared_folder
>> MAYA_SHELF_PATH = $SHARED_PATH/shelves
>> MAYA_SCRIPT_PATH = $SHARED_PATH/scripts
>> XBMLANGPATH = $SHARED_PATH/icons
>> PYTHONPATH = $SHARED_PATH/pythonpath //Required to load custo userSetup.py
>>
>>
>>
>>
>> On Wednesday, 16 July 2014 15:33:56 UTC+2, md wrote:
>>>
>>> Hey Guys,
>>>
>>> I am sure this is an* RTFM* question ... but can anyone point me to
>>> instructions on setting up a network repository for scripts and shelves I
>>> want to auto-load on all our workstations ?
>>>
>>> I will continue to read the docs, but thought someone here might be able
>>> to give me direct information.
>>>
>>> Thanks
>>>
>>> M
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>>  To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/b0a0814b-62e8-4787-b89d-b374a4fba2ae%40googlegroups.com
>> <https://groups.google.com/d/msgid/python_inside_maya/b0a0814b-62e8-4787-b89d-b374a4fba2ae%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> -------------------------------------------
> Risto Jankkila
> mob. +44 (0)77 6741 9890 (UK)
> mob. +358 (0)40 5422 625 (FI) <[email protected]>
> [email protected]
> -------------------------------------------
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CA%2B5uDBa4AJ1oUpNcOm%2BW7Qiu9yWwULEpyPeJ%2Bs0TbeSismWZFQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CA%2B5uDBa4AJ1oUpNcOm%2BW7Qiu9yWwULEpyPeJ%2Bs0TbeSismWZFQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Eduardo GraƱa
www.eduardograna.com.ar

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CACt6GrkDw79ttfR5vG7WsjQCvA8%2BpYZXkMy2HyLYTWQVFxxFHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to