Custom Project Settings

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
Old 08 August 2010   #1
Custom Project Settings

Hello All,
I am trying to develop a script that will allow me and my studio to change projects quickly and easily. However the catch is that with each project, the image file directory changes. So I canít just change the project directory. We donít use Mayaís custom file directory system because of our pipeline. After looking through all of the MEL and Python documentation, Iíve only found a MEL function that will allow you to change the project directory. I want to change the IMAGES directory directly. I really donít need to change the project directory settings. As you can see with the attached image, our pipeline is to type in the absolute path for the images directory. I want to simplify this process by making a script. So I guess my question is, how do I change the Images directory for a project, using MEL/Python script? Iím able to code everything else. It would surprise me if Autodesk left out a function of that sort in Maya 2011. Any and all help is much appreciated.

Thanks,
Stephen
sjones@thedvigroup.com
Attached Images
File Type: png Screen shot 2010-08-03 at 12.31.40 PM.png (48.7 KB, 11 views)
 
Old 08 August 2010   #2
Take a look at the workspace command in the docs. If you open or create a workspace, pass it a custom images path with:

workspace -rt images $path;
 
Old 08 August 2010   #3
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 04:59 PM.


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