View Full Version : change the image render directory
vitattoo 11-11-2008, 09:47 PM Hello
I am tring to change the image render directory with mel.
I can see the image directory:
string $imgDir = `workspace -q -rte "images"`;
I can also change the hole maya project dir with this comand but I havent be able to change change just the image folder
is it a diferent comand I can use? or how can I use the workspace comand to do it?
Cheers
Franco B
|
|
vitattoo
11-12-2008, 04:55 AM
Got it
workspace -fr "images" "c:\\"; //will cahange the render path to the root of my c drive
workspace -u; //To update the workspace
workspace -s; //For save it
Hope it is useful to some one, the way this comand works is been a bit confusing for me but it turn to be really simple
Frumsylgu
11-24-2008, 05:57 PM
That was helpful, thanks. Though It looks like to change the image directory, you need to use the -rt flag rather than the -fr flag...
vitattoo
11-24-2008, 08:05 PM
That was helpful, thanks. Though It looks like to change the image directory, you need to use the -rt flag rather than the -fr flag...
You are right it works in 2009 with the -fr flag, and it was breaking my head in 2008, but using -rt flag works fine
workspace -rt "images" "c:\\"; //will cahange the render path to the root of my c drive
Thanks
CGTalk Moderation
11-24-2008, 08:05 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.