View Full Version : How do you select the version of batch renderer?
miasmaswitch 02-28-2005, 10:56 AM If you have, say, maya 5.0 and maya 6.0 installed on the same machine and want to externally batch render a maya scene using the maya 5.0 renderer, how do you tell it to use that one instead of the maya 6.0 one? It seems to always use the most recently installed version. This is a pain because i've got work to render that needs to be done in each specific version.
I suspect this is something to do with windows pointing the command 'render.exe' to a specific file, but i don't know how to change it.
Any ideas? Thanks in advance!
| |
hmm I guess you could always just run a specific version by putting in the full file path?
x:\Program Files\Alias\Maya5.0\bin\render.exe
miasmaswitch
02-28-2005, 11:21 AM
Thanks for the suggestion ceql.
This works if i execute the command from a dos prompt inside the bin directory, but for whatever reason, it doesn't work if i put it in a .bat file. This is what my .bat file looks like:
C:\Program Files\AliasWavefront\Maya5.0\bin\Render.exe c:\maya_project\scenes\test.mb
When i run this, the window pops up momentarily and then closes again - ie it doesn't work. I assume this is because you can't execute a file in this way as you wouldn't be able to from a command prompt. Something must pick up 'render.exe' and load c:\program files\alias\maya 6.0\bin\render.exe.
hmmmm...
miasmaswitch
02-28-2005, 11:47 AM
Ah ha! Solved it.
The environment variables in the advanced tab of windows system properties can be editted to direct to a specific path. I just have to change that depending on what version i want.
Lovely.
Great, good to hear that you got it sorted! :D
p.s. I can get it working with the full path name in a batch file if I put quotation marks around the path names:
"x:\Program Files\Alias\Maya5.0\bin\render.exe" "x:\a.mb"
(running XP)
wlidea
03-01-2005, 05:21 PM
easy way:
rename specifically render.exe
rename the maya 5's render.exe to render5.exe
rename the maya 6's render.exe to render6.exe
:thumbsup:
CGTalk Moderation
03-01-2006, 06:00 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-2009, Jelsoft Enterprises Ltd.