Launching hrender from python script in Houdini

   1608   1   1
User Avatar
Member
183 posts
Joined: Dec. 2011
Offline
So I have a custom node I have made that has a button that when pressed, I would like to launch a render on my machine using the hrender command. Unfortunately I haven't been able to figure out how this is supposed to be done from within a python script. Any tips?
User Avatar
Member
260 posts
Joined: July 2006
Online
maybe sth like this

define the filename as variable:

filename = hou.hscriptExpression(“$HIPFILE”)
subprocess.Popen()

this should work
Head of CG @ MPC
CG Supervisor/ Sr. FX TD /
https://gumroad.com/timvfx [gumroad.com]
www.timucinozger.com
  • Quick Links