Hi, this is my first post !
Im trying to write a script that instantiate a component and then connect the created component to another component.
parentObject.Params.Output.AddSource(createdObject.Params.Input); do the job in the debugger but when I see the canvas there’s no wire or connection.
I have tried to suscribe to Grasshopper.Kernel.GH_Document.SolutionStartEventHandler() and call .addSource from there, but doesn’t seem to create the connection.
Also tried using ScheduleSolution and call .addSource from there, but I got the same result.
I will be happy for any comments or suggestions how to solve this issue. Thanks!