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

Pablo Giménez pablogipi at gmail.com
Wed Sep 14 11:13:52 EDT 2011


2011/9/14 François Duchesneau <sidefx at trinix.ca>

> 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.
>
Cool, this is what I needed.
I did't about this option, great tip francois, thanks!

>
> François
>
>
> 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
>>
>>
>>
> ______________________________**_________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/**mailman/listinfo/sidefx-**houdini-list<https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list>
>



-- 
Un saludo
Best Regards
Pablo Giménez



More information about the Sidefx-houdini-list mailing list