Variable number of inputs in node

Hello to all,

I need to increase or decrease the number of inputs in a Node. Same as the node merge or the node Entwine in GH. So when you press (+) you have another input and when you press (-) you cancel that input.

Can anyone help with some guidance?

thanks in advance

Hi Carlos,

you need to implement the IGH_VariableParameterComponent interface in your component class.

I recommend doing most of the work in the VariableParameterMaintenance method, and provide only very summary implementations of the other methods.

Thank you very much David, runs smoothly.
There is a way to refresh the rendering node after delete an input.
although it happens as soon as you “touch” the input.

thanks again

Sorry was there still a question?

No thanks Just resolved!.
all the best