Automatic placement of a GH_Panel as an output parameter

Hello,

when automatically placing a component (slider, value list, panel etc.) on the GH canvas, in order to connect it to a component as input you use: Params.Input[i].AddSource(myPanel); I want to have a panel automatically plugged as an output. I replaced Input to Output, but the panel does not connect to the component. Any hint?

Thanks

You need to use the AddSource method on the Panel, to add the output of your component as its input.

1 Like

You rock!