Search the Community
Showing results for tags 'warning'.
-
I'm using an if condition in my script to validate the existance of a directory. In case it doesn't exist, I want Houdini to stop execuing the code and raise a warning. So far I have: if (condition == False): raise hou.NodeError("No Source Folder Found.") exit() But it seems like houdini is ignoring the raise warning function... EDIT: Looks like the correct function for this is hou.ui.displayMessage("No Source Folder Found."), but it still runs the rest of the code which is not what I want...
-
Hey everyone, I just downloaded this scene file and am getting a lot of error messages when I try to open it. I've taken some screen grabs of the errors: https://imgur.com/a/oTwmIkV Most of them say "Skipping unrecognized parameter [parm name]" but I'm also getting "[node name] using incomplete asset definition (full definition not found)." Anyone know what they mean or how to fix them? My apprentice version is 16.5.473 Thanks for your time.
-
Hi! So we can't have nested foreach() loops? This: int thoseNumbers[] = array(0, 1, 2); int otherNumbers[] = array(3, 4, 5); foreach(int this; thoseNumbers) { foreach(int other; otherNumbers) { } } throws this: warning.WTF? Happy rainy day!
- 4 replies
-
- mantragora
- foreach
- (and 4 more)