Jump to content
Sign in to follow this  

raise hou.NodeWarning() on Parent Node

Recommended Posts

Maybe I'm approaching this problem from the wrong angle but I'm having trouble figuring out the best way to do this. I have a Python SOP inside of a digital asset. I'd like to push warnings from that Python SOP to the parent node so the artist can see the warnings at the top level of the digital asset rather than having them buried. The Houdini documentation suggests doing this which works on the Python SOP itself.

raise hou.NodeError("Invalid parameter settings")

How do I do something similar on the parent node (or potentially any random node)? I was looking for something like a generic node way to set a warning but I'm not finding it. How would you solve this? Thank you!

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