I cant get add new points to a list


I am writing my code in visual studio, and the running it as a plugin in grasshopper. I cant figure out why my code is not working properly. The “ProcessNewCenters” function is not adding points to the starting list. I have attached the code below.

point Gorwth code class Privtae class.pdf (57.0 KB)
point Gorwth code class wholesystem.pdf (42.2 KB)
Point Growth code.pdf (39.0 KB)

Not sure but in your solve instance class you are creating a new wholesystem at every iteration. This should be in a private variable outside the solve instance. I assume that’s where you are initializing an empty Pointlist everytime it iterates

I tired that, its not working, any other suggestions would be helpful.