Creating custom component with variable number of inputs and outputs

How to create a custom component with variable number of inputs and outputs? Please for a newbie guide, i have no idea where to start

Hi again @aleksanderdynarek !

Here is a sample template were I show you how to implement in a basic level the IGH_VariableParameterComponent interface

I simplified it from a version I had written, unfortunately I did not compile this new version to see if it is error free, but I am sure it works.

You can find the documentation of the IGH_VariableParameterComponent interface here

https://developer.rhino3d.com/wip/api/grasshopper/html/T_Grasshopper_Kernel_IGH_VarParamComponent.htm

MyFirstZUIComponent.cs (5.5 KB)

1 Like

ah, clean and simple. great thanks!