Jump to content
Sign in to follow this  
Bandu

Check if Houdini runs locally or on the farm

Recommended Posts

Hi guys,
I need to check if Houdini 17 is running locally or on the farm and switch depending on it.
 

thanks for helping me out...

Share this post


Link to post
Share on other sites

Houdini on the farm is usually run in batch mode without UI and locally probably with UI

if that's enough of a distinction for you you can use this function:

hou.isUIAvailable()

or you can just initialize an environment variable for your farm processes that may help you distinguish that more robustly

Share this post


Link to post
Share on other sites

YES !
thank you, works great for my purposes

I knew it's simple

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×