how to get a warning before overwriting existing render

Houdini Integrated Plugin

Moderator: juanjgon

Post Reply
gui2one
Licensed Customer
Posts: 47
Joined: Thu May 19, 2016 8:16 pm

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
---------------------------------
Windows 10 |NVIDIA RTX TITAN - 24GB| i9-9900K | 64GB RAM
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
gui2one
Licensed Customer
Posts: 47
Joined: Thu May 19, 2016 8:16 pm

thanks, I can stop searching in that direction for now.
---------------------------------
Windows 10 |NVIDIA RTX TITAN - 24GB| i9-9900K | 64GB RAM
Post Reply

Return to “Houdini”