I am making GH components in c# dotnet smoothly. Recently started with Kangaroo custom goals. Some work fine.
Here I tried to implement angleclamp from Daniel Piker’s goals available in Github.
I want to run custom goal integrated with KangarooSolver.PhysicalSystem in same component, as I have some calculation at later stage while KangarooSolver.PhysicalSystem is running. I want to implement Rod and AngleClamp.
It shows in debugging KangarooSolver.PhysicalSystem is null hence, in AngleClamp Calculate method PIndex is becoming null.
I have attached the code, one GH definition, gh component and 3dm file.
Please some one help me with this. Angle clamp and Rod need to work to go for next step.