[Sidefx-houdini-list] Set explicit cook error for anode using Python

François Duchesneau sidefx at trinix.ca
Wed Sep 14 10:21:27 EDT 2011

Keep in mind that you can put your node name in the "Message Nodes" 
parameter on the property page of your HDA. This way the errors will be 
promoted to the HDA. I think the warnings will do too.


Pablo Giménez wrote:
> Hi all.
> I have found that sometimes a node into a HDA returns a warning, but this
> warning is not showed in the HDA node, one level up.
> So HDA is doing nothing but for the user is not obvious something wrong is
> happening in the tool, unless you dive into it and catch the node/s with
> warnings.
> One good example is Object Merge which returns a warning if it can't load
> geometry and this warning is not shown in the HDA node.
> So is ther anyway, better if it using python, to explicitly set a node as
> error during cook and set the error message.
> I have seen there are mthods in hou.Node to get node's messages abd warning
> but not to set them, or to set the cook state of the node.
> Thanks

More information about the Sidefx-houdini-list mailing list