In CGRU afanasy, you can't change camera resolution or ROP option for a job.
So here an exemple to restart a job and changing some options.
Simple addition to hrender_af.py script, to restart a job previously created with the option Override Camera Resolution checked.
hrender_af.py is located in
No need to resend from houdini, just change the script, and restart job will rerender with the original camera resolution.
Add these lines after line 80:
ropnode = hou.node(rop)
# Change ROP settings -- resover = ropnode.parm("override_camerares") try: resover.set(0) print(' Override Camera Resolution turned off.') except: print('Failed, override_camerares not changed.')You can also turn off the option Write Checkpoint, add this code:
chkpt = ropnode.parm("vm_writecheckpoint") try: chkpt.set(0) print(' Write Checkpoint turned off.') except: print('Failed, vm_writecheckpoint not changed.')