How to run a script right after a render is completed?
oppai-man
Posts: 56
Hi!
I need to run a Python script that I wrote right after a render is completed.
How do I achieve that?
Comments
In your Render settings (both 3Delight and Iray), under General, there is a property called Post Process Script that will let you choose one. (Never tried it myself, but I assume it does what you want).
The Post Process Script accepts only Daz Script (.dsa, .dsb, .dsb). I know how to program Python, but I'm afraid Daz Script Documentation might be very scarce.
This may help http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/rendering/render_post_process/start
Maybe try a quickie DS script that calls the python script? Have a look at App.showURL():
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/app_dz#a_1aaacc5086bff479d0c1a842bad554bdce
HTH.
- Greg