Automatically update render output and element filenames

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  06 June 2013
Automatically update render output and element filenames

Is there an easy way to manage render output and render element filenames and have them update themselves with each new scene version you save? Say you have 10+ render elements with custom names or you want them to be in their own directory, updating each element path and filename with the new version can get tedious.

In Maya, you can just enter <Scene> in the output and it will automatically use the scene name in the filename or path. Is there something similar that can be done in Max?
  06 June 2013
you could use the batch camera script
it can do such things
ps - in the default setup it exports as commandline, but this can be changed in the settings, so you can render within the active session
  06 June 2013
thanks for the script link, I'll check it out. I'm still curious if there's another way though...
  06 June 2013
Just so I understand, you're not opposed to using scripts, right?
  06 June 2013
hey em3, I'm not opposed to scripts, just not running the whole render through one. I actually started looking into making a script that would run through the current render elements' file names to find and replace text, but my limited maxscript experience is making it slow for me
  06 June 2013
I am sure rpmanager can do this:

It is a lot more powerfull than Maya's render passes, can't compare.
Follow me on Twitter
  06 June 2013
rpmanager probably can, it looks pretty powerful, but I was just looking for something quick and easy.

It took some trial and error since I haven't done much scripting before, but I made a macroscript that allows you to search and replace text in the render element names and filenames, and the render output filename at the same time. It's attached if anyone else wants to check it out.
Attached Files
File Type: zip (1.2 KB, 7 views)
  06 June 2013
Unfortunately, the only thing supporting tokens at this time is State Sets and the available tokens are limited. Hopefully, this will be expanded in the future.

"The Evil Monkey hiding in your closet."
  06 June 2013
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

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 01:06 AM.

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