CGTalk > Software > Autodesk Maya
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 09-07-2013, 11:21 AM   #1
otuama
Expert
 
otuama's Avatar
portfolio
Sean Toomey
Swansea, United Kingdom
 
Join Date: Apr 2007
Posts: 259
Custom Shelf Directory

Hi all.

In work, it'd be nice if everyone had the same shelves as there are some shelves that everybody needs and some shelves that they don't. It'd be great if everyone had the same shelves and also the same buttons. If the shelf is added to on one system, it'd the applied to the other systems.

------

Does anyone know whether it's possible to reference shelves from somewhere other than the My Documents > maya > version > prefs > shelf folder?

It'd be quite nice to have shelves in a directory on the server where when everyone loads maya it loads the shelves in that folder. So, everyone has the same shelves.

What this would mean is that if a script or button is added to the shelf, the next time someone loads maya on another system, they'd also have that button.

I just thought of a major problem though so I actually don't think it'd work.

If someone adds 20 great buttons to a shelf and closes maya and/or saves preferences. Then someone else only adds 1 button to the shelf and closes maya, when everyone starts maya only the most recent shelf would be loaded. So, the 20 wouldn't be there.

-------------

Hmmm, I'm just trying to think of a way to make our workflow more productive.

Any ideas?
 
Old 09-07-2013, 12:18 PM   #2
ThE_JacO
MOBerator-X
 
ThE_JacO's Avatar
CGSociety Member
portfolio
Raffaele Fragapane
That Creature Dude
Animal Logic
Sydney, Australia
 
Join Date: Jul 2002
Posts: 10,954
You can add a number of things to the Maya.env file to extend start-up.
If you're on windows it'll be in documents/maya/mayaversion/Maya.env

MAYA_SHELF_PATH can be set to add paths to look shelves up in.

You can find more info in the manual in user guide > environment variables.

As for people overwriting the shelves, you will need some form of control of course so people can't overwrite each other's work. Protection/user permissions at a minimum.
__________________
"As an online CG discussion grows longer, the probability of the topic being shifted to subsidies approaches 1"

Free Maya Nodes
 
Old 09-07-2013, 03:57 PM   #3
otuama
Expert
 
otuama's Avatar
portfolio
Sean Toomey
Swansea, United Kingdom
 
Join Date: Apr 2007
Posts: 259
Thanks for the reply.

Think I've tested everything I need to know.

The only way I can get around the fact that every time people close maya the shelf files are changed is to maybe set the shelf files as read only.

Only one person in the team is allowed to change the read only status in order to add or remove things on the shelf.

However, if someone closes maya while this user has the file as writeable, the shelf file will still be changed.

Maybe it's too much trouble than it's worth.

------------

Unless, I set the settings of maya on each system to not save preferences when closed.

And have a button on their personal custom shelves that'd save the preferences for only that shelf.

----------------

I have a headache
 
Old 09-07-2013, 05:47 PM   #4
cgbeige
Expert
 
cgbeige's Avatar
portfolio
Dave Girard
Opinions are mine. You can't have them.
Oakland, USA
 
Join Date: Jul 2005
Posts: 7,015
I synchronize my scripts folders with Dropbox and symlinks. You could do the same with shelves. It's a tip in my 101 Maya Tips book but here is the quick rundown:

copy your master shelf folder to your Dropbox folder and then delete the original shelves folder. Then make a symlink to the Dropbox copy in the original path. If you're on OS X or Linux, that would be:

ln -s /path/to/Dropbox/shelves /path/to/maya/shelves

on windows it would be:

mklink /d \path\to\maya\shelves \path\to\dropbox\shelves

In Windows the destination is first.
 
Old 09-08-2013, 03:09 AM   #5
djx
Where's my pony?
 
djx's Avatar
David Johnson
vfx & creature td
Melbourne, Australia
 
Join Date: Jun 2003
Posts: 3,464
We sync our shelves too. When maya is started the shelves are copied from the central location to the users local maya folder, thus overwriting any changes that they dared to make

David
__________________
http://www.djx.com.au
 
Old 09-08-2013, 03:09 AM   #6
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 06:18 PM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.