The problem is you never actually assign your class level variables
_text. You are maintaining separate collections inside
SolveInstance() and never copy the values out into your class level variables.
You should put a breakpoint in your
DrawViewportWires method and then you can inspect your variables. If you cannot set breakpoints and debug your code then that should be priority #1. Developing without a debugger is not something you should settle for.
CurveSlopeAnalysisComponent.cs (6.0 KB)
ps. I made some changes to the naming of variables in the code. I’m just so used to my scheme that I find it really hard to see bugs otherwise. You of course do not have to adhere to my personal preference.