Elias Posted August 29, 2013 Share Posted August 29, 2013 Hi guys, Is there a way to collapse a multi input SOP such as a switch into an HDA and allow it to take multi inputs? Cheers, Elias Quote Link to comment Share on other sites More sharing options...
Skybar Posted August 29, 2013 Share Posted August 29, 2013 (edited) I don't quite understand what you mean. But yes you can have more than one input on a digital asset. edit: Ah right, I get it. If you give your asset 10 inputs, there is an input for each one on the node. However there is no space for more inputs after that, so if you instead give it 11 inputs they will then merge together to a multi-input. Edited August 29, 2013 by Skybar Quote Link to comment Share on other sites More sharing options...
Elias Posted August 29, 2013 Author Share Posted August 29, 2013 What I want is to be able to have two inputs on my HDA. Both accepting multiple connections. A switch node have one port but accepts an arbitrary number of connections, so does the merge node. If I collapse a switch into an HDA the multi inputs capabilities are lost, I wonder if I can keep the functionality. Quote Link to comment Share on other sites More sharing options...
Skybar Posted August 29, 2013 Share Posted August 29, 2013 What I want is to be able to have two inputs on my HDA. Both accepting multiple connections. A switch node have one port but accepts an arbitrary number of connections, so does the merge node. If I collapse a switch into an HDA the multi inputs capabilities are lost, I wonder if I can keep the functionality. Yeah I think I understood you, read above. Although doing what I described still only lets you connect 11 if you only give it 11 inputs, so you could give it 100 inputs or something. I don't think you can give it an infinite number of inputs, if you'd ever need that many anyway. Quote Link to comment Share on other sites More sharing options...
Elias Posted August 29, 2013 Author Share Posted August 29, 2013 Okay, I see. I want to connect maybe 100 connections to a switch node, the problem is just that it's nested in a subnet. So having 10+ inputs wouldn't be optimal. Quote Link to comment Share on other sites More sharing options...
Adam T Posted August 29, 2013 Share Posted August 29, 2013 Not sure if this is what you're after, but you can get the same unlimited style input as the merge & switch SOPs in Python via hou.HDADefinition ... I'd assume the same behaviour would exist from the Type Properties dialog (can't test it atm myself)? http://www.sidefx.com/docs/houdini12.5/hom/hou/HDADefinition#setMaxNumInputs Quote Link to comment Share on other sites More sharing options...
Adam T Posted August 29, 2013 Share Posted August 29, 2013 Sorry, I didn't see Skybar's 11 nodes reply above - which is right, and the same thing now I'm able to look at it (the docs are actually wrong in this case). Quote Link to comment Share on other sites More sharing options...
rafaelfs Posted August 29, 2013 Share Posted August 29, 2013 If you put a huge number in the Maximum Inputs of the HDA is suddenly changes the icon to a Multi-input. I'm not sure it's "unlimited" in practice, but I guess it is the closest thing. I'm also not sure how it affects what goes inside. You might still have to do some scripting to be able to process the merged geo. Cheers Quote Link to comment Share on other sites More sharing options...
Butachan Posted September 4, 2023 Share Posted September 4, 2023 Hi, do you guys know if there is anyway to split this multiinput system @rafaelfs Basically to make the 1st input split out of the multiinput bar?, instead of having all inputs in the same multiinput bar? 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.