Retrieving Node Warnings/ Errors

   9271   3   2
User Avatar
Member
85 posts
Joined: Jan. 2009
Offline
Hi,

when doing things in Houdini, sometimes a node displays a yellow/ black dotted line when there is an error. Where do I get the related error message?
User Avatar
Member
1390 posts
Joined: July 2005
Offline
Phlok
Hi,

when doing things in Houdini, sometimes a node displays a yellow/ black dotted line when there is an error. Where do I get the related error message?

MMB on a node.

hou.Node().warrnings() and hou.Node().errors() gives you the same in python and opinfo in hscript.
User Avatar
Member
190 posts
Joined: April 2009
Offline
So how do i use this to copy the entire error message?

I tried this:

selNodes=hou.selectedNodes()
for n in selNodes:
print n.errors;
But that only outputs this:
<bound method SopNode.errors of <hou.SopNode of type file at /obj/sphere_object1/file1>>
instead of what i want:
Error: unable to read file “blah.bgeo”.
User Avatar
Member
1904 posts
Joined: Nov. 2006
Offline
errors is a function, not a property. You need to call it:
n.errors()
Graham Thompson, Technical Artist @ Rockstar Games
  • Quick Links