View Full Version : Querying the Project Path

02 February 2006, 07:57 PM
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, 08:17 PM
I don't have Maya open, but could this be found with the internalVar command?

02 February 2006, 08:23 PM

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, 08:28 PM
workspace -q -rd;

02 February 2006, 07:44 PM
thanks, tciny. that worked

CGTalk Moderation
02 February 2006, 07:44 PM
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.