Hey, maybe I’m missing something obvious: is there a way to query Maya to find the last rendered frame?
I’m using Octane renderer, which adds some ridiculous garbage to the name of your rendered file. Specifically, it adds something like “__4636” to the file name, then adds “_passes” to the frame number value. I want to write a quick “post render frame MEL” script that, when each frame finishes rendering, would query Maya to get the path to just-completed frame and then rename it by stripping the additional garbage off. This way, as soon as the file is saved the problem would be corrected without any further effort.
Unfortunately, I can’t find anything in the Maya docs that would help me identify the name and path of the file that Maya just rendered. Can anyone think of a solution?
