Rebar shape detail

Hi guys!

I am pretty new to dynamo, and i come up with this idea to do a rebar shape detail (sofistik style).
Now, i can extract de rebar shape using the getcenterlinecurve, and make a detail line out of it.

The problem is that when i try to put the partial lengths of the bar, using the textnote.bylocation node, with any lacing option, it puts only the first parameter value on all the points, or all the values on all the points.
I cannot correlate tha values with the segment.

I am a new user so i cannot upload, but if you want to help me, i can send it on mail.

you can contact me also on: danielgheorghe.20@gmail.com

Thank you very much!

can u share the dynamo script if you have without lengths of the bars