I was just wondering if it’s possible to have render elements automatically save as the max scene filename instead of an explicit file name that you have to type in. I’d like to have the vray wire color element automatically save as the name of my max file for organization purposes.

renderers.current.output_splitfilename = maxfilepath + (getfilenamefile maxfilename) + "_.exr"
to be modified to your desire, you could set the path from a variable quickly etc… BUT now we come to the annoying part: although now the entry to the “save separate render channels” is set, vray will not save it to disk. You’ll need to open the save dialog (where the path is not remembered) and set it manually again and press enter. Should probably post this in bug reports. So another quick workaround for you, you can copy paste the string to the save dialog ![]()
myname = renderers.current.output_splitfilename = maxfilepath + (getfilenamefile maxfilename) + "_.exr"
temp=newscript()
print myname to:temp
hope this gives you some ideas,
best regards,
Michael
Thanks for the reply but I get this error. I know absolutley 0 about maxscript

@ powerandrubber
If I got you right,
All the channels are saved with the name you set + “.”
Example: If you set your save to be like < scene-name.tif >, the files have to be finally named like.
1. Scene-name.RGB_color.0000.TIF
2. Scene-name.Alpha.0000.TIF
3. Scene-name.VRaySpecular.0000.tif
etc. etc.
Best regards,
nikki Candelero
Yep, that’s what I get.
![]()