Hi All,
I’m new to C# sharp scripting, i am developing a simple plugin that outputs the top and bottom surface of a geometry but i seems there’s an error somewhere in the code that i haven’t managed to locate. When the plug in is brought into Grasshopper and i plug a brep in it, i get the error in the image bellow. Can someone please help me out. I’m also attaching the script for the plug in. I’m working in VisualStudio 2022 btw.
Thank you
TopBottomSelectoSelector.cs (4.3 KB)