post render script mantra

   2658   1   0
User Avatar
Member
23 posts
Joined: Nov. 2011
Offline
Hello,

I am looking at a way to execute a python/hscript/shell or batch scipt after mantra finished rendering an ifd. Using the post script action on the mantra node will not work, because I need the rendered image to be written to disk, and those commands are executed after the ifds are generated.
I could not find a parameter I could pass to mantra.exe either. But I am sure there must be a way to do this.

Cheers

Sebastian
User Avatar
Member
192 posts
Joined: Nov. 2008
Offline
it seems to me like the easiest solution would be to append an extra line to the command you use to call mantra ie.

mantra myframe.ifd; python postframe.py;


this seems to me to be the simplest way to get your script to run when the render is finished. if you wanted to get really fancy, you could even make a wrapper for mantra to do this.

-b
  • Quick Links