davishardy Posted August 9, 2022 Share Posted August 9, 2022 I am trying to make a script which notifies the user when their render is finished. Currently, I've been able to send a message to myself (via discord) when the playbar hits the last frame. All I need help with is creating a function that checks if Houdini is running in headless mode. Quote Link to comment Share on other sites More sharing options...
jkunz07 Posted August 26, 2022 Share Posted August 26, 2022 hou.isUIAvailable() https://www.sidefx.com/docs/houdini/hom/hou/isUIAvailable.html This will return a boolean so you could do: if hou.isUIAvailable(): some code here for graphical session else: code for headless session here Quote Link to comment Share on other sites More sharing options...
davishardy Posted August 27, 2022 Author Share Posted August 27, 2022 Thanks John! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.