how to get a warning before overwriting existing render

Forums: how to get a warning before overwriting existing render
Houdini Integrated Plugin

Moderator: juanjgon

how to get a warning before overwriting existing render

Postby gui2one » Thu Jun 30, 2016 12:32 pm

gui2one Thu Jun 30, 2016 12:32 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
gui2one
Licensed Customer
Licensed Customer
 
Posts: 46
Joined: Thu May 19, 2016 8:16 pm

Re: how to get a warning before overwriting existing render

Postby juanjgon » Thu Jun 30, 2016 12:40 pm

juanjgon Thu Jun 30, 2016 12:40 pm
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
Computer Graphics Software Developer
Octane plugin development and support: LightWave and Houdini
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 7297
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: how to get a warning before overwriting existing render

Postby gui2one » Thu Jun 30, 2016 1:56 pm

gui2one Thu Jun 30, 2016 1:56 pm
thanks, I can stop searching in that direction for now.
---------------------------------
Windows 10 |NVIDIA RTX TITAN - 24GB| i9-9900K | 64GB RAM
gui2one
Licensed Customer
Licensed Customer
 
Posts: 46
Joined: Thu May 19, 2016 8:16 pm

Return to Houdini


Who is online

Users browsing this forum: No registered users and 2 guests

Sun Feb 23, 2020 2:28 am [ UTC ]