Querying the Project Path

Become a member of the CGSociety

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

Thread Tools Display Modes
  02 February 2006
Querying the Project Path

I am trying to query the project path via mel. I have looked at the MAYA_PATH environmental variable via the "getenv" command, but it doesn't seem to reflect changes I make to the current project path. It only returns what I explicitely set via the "putenv" command.

I may be missing something. If anyone can help with getting that method to work, or has another way, that would be great.

  02 February 2006
I don't have Maya open, but could this be found with the internalVar command?
Martin Andersson
- www.animation-hut.no
- http://www.thekove.com
  02 February 2006

thanks for the suggestion. i tried internalVar, but that seemed to just point to my user/maya/projects directory. it did not change when i would change the current project via setProject, or the ui. if you have any other thoughts let me know.

  02 February 2006
workspace -q -rd;

Last edited by tciny : 02 February 2006 at 08:41 PM.
  02 February 2006
thanks, tciny. that worked
  02 February 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
Society of Digital Artists

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

All times are GMT. The time now is 01:47 AM.

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