I have a large experience in doing C++ plug-ins but recently I am doing some custom components for Grasshopper in C#. The programming itself is going pretty well but at the moment I don`t realize the extent to which I can customize GH components. So I will tell you what kind of component I want to create and I would appreciate if you told me if that is possible (if nothing else) so that I know I can pursue it.
I want to make a component with variable inputs and outputs. So the most general case would be:
- I right-click on the component and a dialog opens up
- In the dialog I can choose different functions, and they have different types of inputs and outputs (some have a Brep and an array of Points as an input and Curves as an output…some have an array of points as an input and as an output, etc…)
- After selecting the function my GH component changes its inputs and outputs according to that function…it can “transform”.
So this would be some kind of “super-component” where I could spare having multiple ones for similar operations.
Is this possible?