magneto Posted November 16, 2015 Share Posted November 16, 2015 Hi, I remember reading about it but it might be a dream. Is there a built-in way for HDAs to do this rather than doing opexist(opinputpath(".", 0)) which seems to give warnings in H15 also? Thanks Quote Link to comment Share on other sites More sharing options...
anim Posted November 17, 2015 Share Posted November 17, 2015 yes, it's new in H15"The Disable when and Hide when syntax now supports the pseudo-functions ninputs() and hasinput(n) to allow hiding/disabling depending on whether an input is wired." http://www.sidefx.com/docs/houdini15.0/news/15/ui#id7f1d97eb0fe0 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted November 17, 2015 Author Share Posted November 17, 2015 Thanks anim. I assume these are not available to use inside the HDA subnet? Quote Link to comment Share on other sites More sharing options...
anim Posted November 17, 2015 Share Posted November 17, 2015 well there you have expressions as you mentioned what kind of warning you are talking about? Quote Link to comment Share on other sites More sharing options...
magneto Posted November 17, 2015 Author Share Posted November 17, 2015 It says invalid input path "" or something when nothing is connected, how how else am I supposed to get the input path to see if it's empty, right? Another problem is when you disconnect a node from your input, it doesn't trigger and update so your network still sees it as the previous state (connect or disconnected). Quote Link to comment Share on other sites More sharing options...
anim Posted November 17, 2015 Share Posted November 17, 2015 I vaguely recall something about not updating, even though I don't remember circumstances however I'm not getting the warning, and for this simple case updating works fine switch_if_input_exists.hip 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.