Page 1 of 1

how to get a warning before overwriting existing render

Posted: Thu Jun 30, 2016 12:32 pm
by gui2one
Hi,
I am trying to get a warning when octane tries to overwrite an existing image.
I thought python script would be the way to go : a simple preframe script checking for an file name. But I can't find a way to 'cancel' octane render in python. With mantra I think a simple ' sys.exit(0) ' does the trick.
How do I do the same with octane ?

Cheers

Re: how to get a warning before overwriting existing render

Posted: Thu Jun 30, 2016 12:40 pm
by juanjgon
Hmm, I am not sure if currently it is possible cancel the render from a python preframe script. Probably I should add a command to make it possible. Let me think about it.

Anyway perhaps other user could know a workaround.

-Juanjo

Re: how to get a warning before overwriting existing render

Posted: Thu Jun 30, 2016 1:56 pm
by gui2one
thanks, I can stop searching in that direction for now.