I am trying to make a quick component to help learn C# and Grasshopper. I just want to invoke the Curve.DivideByLength method in a custom Grasshopper Component. Code is below, What am I missing? I think it is something to do with assigning the Point3d array to the output param. Also do we have a c# grasshopper discord?
I apologize for the trivial questions, this is the first time I’ve tried C # and I’m trying to follow the guide on the site Simple Component with C#, VB
For each new component, you have to replace the ComponentGuid string with a new one generated with that tool (is the one that I use) via copy-paste. Otherwise, when GH loads the component, it will tell you that a component with that ID already exists.