MAYA_SHELF_PATH not working

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  06 June 2005
MAYA_SHELF_PATH not working

Have any one used the MAYA_SHELF_PATH enviroment variable?

I am trying to use it here and i get wierd results.
i can set it up fine and maya reads from the given MAYA_SHELF_PATH directory fine . but it opens all the shelfs empty even is thy have abuttons set up. And when I close the maya it saves the empty shelfs over shelfs with buttons.

thansk
yury
 
  06 June 2005
Post

Привет / Hi

I never used Shelf variable Path....

The basic paths which u can get through getenv command are....

MAYA_PLUG_IN_PATH
MAYA_MODULE_PATH
MAYA_SCRIPT_PATH
XBMLANGPATH

Usually on PC your shelves should rest in there:

C:\Documents and Settings\Alexi\My Documents\maya\6.0\prefs\shelves

Take care....
__________________
-AS
 
  06 June 2005
yeah... thanks Leha

I need to tell Maya to read shelves from a designated directory, other then the default directory. For that Maya gives me the shelf variable. But I can not get it to work right.

Have you used the MAYA_SHELF_PATH ?

yury
 
  06 June 2005
Post

Hei

NOpe ....i never used different shelves path....

WHat is the reason of using different path in your case....?
__________________
-AS
 
  06 June 2005
well we are using VSS ( visual source save) to run the project and the Defoult Maya Shelf path is not in the our VSS . So To get the scripts read from designeted Directories other then Defoult we need to change the enviroment pathes.
yury
 
  07 July 2005
did you ever find a fix for this? i'm running into the same problem. i want a network shared shelf path to add common buttons/tools to a specific custom shelf on everyone's maya.

i have the shelf mel setup with buttons, open up maya and the shelf is blank... then if i close maya the mel file gets overwritten to a blank file. if i make the file read only, it doesnt get overwritten, but it still doesnt show any buttons when maya opens. odd...
__________________
Josh Carey
Mentor/Co-Founder | Rigging Dojo
Teaching the Art and Science of Character Rigging
www.riggingDojo.com
josh@riggingDojo.com
 
  07 July 2005
An easy way to get around this (if it works)
Is to hold your shelves in VSS folder and alias
the shelves folder to the default alias folder.

This would work in OSX (I think)
as I have all my music on an external drive.
I make an alias in my iTunes folder of the
music folder on my External HD..

Later
Niietzshe
__________________
 
  07 July 2005
ah, thinking about it now, i could just have a script run from the userSetup file that copies the network shelf file to the local shelf folder... though i'm not sure if the shelves get loaded before that userSetup is run or not..

hmmm
__________________
Josh Carey
Mentor/Co-Founder | Rigging Dojo
Teaching the Art and Science of Character Rigging
www.riggingDojo.com
josh@riggingDojo.com
 
  07 July 2005
Thumbs up

the maya native shelf path is not changeable. the only way to point the path to a new place is to actually edit the AEtemplate that calls it. you can comment out the native path and type in the path you want ... would actually be nice to modify the settings -> preferences to accomodate such a change. so you could potentially put the shelves wherever you want. i noticed this info when i was digging through the AEtemplates trying to mod one of em, and its commented with

// this system variable cannot be changed
//

if anyone finds a way... to change that variable.. that would be tasty..

az
 
  01 January 2006
Originally Posted by ynedelin: Have any one used the MAYA_SHELF_PATH enviroment variable?

I am trying to use it here and i get wierd results.
i can set it up fine and maya reads from the given MAYA_SHELF_PATH directory fine . but it opens all the shelfs empty even is thy have abuttons set up. And when I close the maya it saves the empty shelfs over shelfs with buttons.

thansk
yury


Hmm...can this thread come back? I'm having the same problem. And this thread hasn't really pointed to a solution yet. Maya's doc's definitely indicate that you can add paths with the MAYA_SHELF_PATH environment varible. It works fine for MAYA_SCRIPT_PATH (I've added several and they all work simultaneously). But shelves loaded from an alternate MAYA_SHELF_PATH load blank.

So does anyone have a clear solution for allowing shelves to live on a network and pointing to them from user's machines?
__________________
------------------------------------------
Barrett Fox - 3D Animation Production Direction
Web:http://www.barrettfox.com
------------------------------------------
 
  01 January 2006
hi all,

as you know, when you create a shelf it will save as a mel procedure. Maya can find your custom shelf path but same time can't find the procedures. If you are using Maya.env define your paths like that;

MAYA_SHELF_PATH = X:\MyShelfDirectory;
MAYA_SCRIPT_PATH = X:\MyShelfDirectory;


important thing here, maya should read your shelf path first. it should work correctly.

Last edited by safakoner : 01 January 2006 at 07:37 AM.
 
  01 January 2006
have anyone actually tried shelf path and it worked?


userSetup method will work. that what I am using right now. i actually delete and rebuild the shelfs from userSetup , and userSetup is in the VSS, since the script path works.

yury
 
  01 January 2006
Originally Posted by safakoner: hi all,

as you know, when you create a shelf it will save as a mel procedure. Maya can find your custom shelf path but same time can't find the procedures. If you are using Maya.env define your paths like that;

MAYA_SHELF_PATH = X:\MyShelfDirectory;
MAYA_SCRIPT_PATH = X:\MyShelfDirectory;


important thing here, maya should read your shelf path first. it should work correctly.


Ah, thank you, Safak. That was the ticket. Much appreciated!

And yury, I'll test the userSetup.mel method as well.

Cheers
__________________
------------------------------------------
Barrett Fox - 3D Animation Production Direction
Web:http://www.barrettfox.com
------------------------------------------
 
  01 January 2006
You're welcome
 
  01 January 2006
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



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 10:05 AM.


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