I have a component that adds/removes Inputs based on selection from the User. It reads the first input and adjust based on data stored in a table. This is all triggered by a Context-Menu function. Initially I was hoping to have this automatically, but that breaks everything, so I use now the context-menu.
It is working just fine, even after I compile it into a .ghpy
Where I am having trouble is when reopening the grasshopper file. The .ghpy component reverts to its initial configuration.
I have been searching everywhere and its driving me crazy. I know it is possible, since Karamba has some components that can do this.
Could anyone point me in the right direction?