Jump to content
Sign in to follow this  
kiryha

Determine if node gives an error

Recommended Posts

How to determine with python if the node gives an error?

nodeError_01.PNG.8eaaecd331bdd5498729a7349ecc257d.PNG

Share this post


Link to post
Share on other sites

You can use hou.Node.errors() or hou.Node.warnings() to get at any error/warning information

  • Like 1

Share this post


Link to post
Share on other sites

Thanks, that's what I need!
 

if len(hou.Node.errors()) > 0:
    print 'Node with errors'

 

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  

×