CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 08-03-2010, 05:14 PM   #1
sbjones25
New Member
portfolio
Stephen Jones
The DVI Group
Cumming, United States Minor Outlying Islands
 
Join Date: Mar 2010
Posts: 4
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-04-2010, 12:10 AM   #2
fezz
Render slave
 
fezz's Avatar
portfolio
Michael Fessenden
Pipeline TD, Mr. X
Toronto, Canada
 
Join Date: Aug 2005
Posts: 254
Send a message via AIM to fezz
Take a look at the workspace command in the docs. If you open or create a workspace, pass it a custom images path with:

Code:
workspace -rt images $path;
 
Old 08-04-2010, 12:10 AM   #3
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
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 01:18 PM.


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