Reverse the normals of curves

Hello all,
I am trying to reverce all the “inward” normals of the multiple curves by checking the negative y coordinates of the vectors, so all the spickes are in the same direction. I am stuck at not getting more than one index of them. I guess working with multiple elements is not so promising with “replace item at index” also.
Could someone help me with this solution, or is there some other easier way?

Try the List.AllIndicesOf node instead of IndexOf

1 Like

Check this out

1 Like

Thank you, Mohammadz!
One string of code from Mostafa_El_Ayoubi to reverse the normals is much more elegant then all the blocks :slight_smile:

Thank you, T_Pover!
recursive ReplaceItemAtIndex from Clockwork also helped.

1 Like