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
New Member
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.

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
Render slave
fezz's Avatar
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:

workspace -rt images $path;
Old 08-04-2010, 12:10 AM   #3
CGTalk Moderation
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
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
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 06:30 AM.

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