Data tree sort for line creation

test for ansys.gh (14.2 KB)
Hi guys,

could someone help me clarify this a bit? I am trying to sort the data for Ansys inp. file.
Basically, I have list of points with coordinates and list of lines made of those points.
How to sort the list which is going to give me the these parameters, but points cannot be duplicated?

list of points XYZ coord
then merged with list of lines : num_line ,startpoint, endpoint

I hope I am not making this very complicated and I would really appreciate some help. Thank you in advance. Minimal file is attached.

test for ansys Edited V0.gh (15.1 KB)

1 Like

@Quan_Li
thank you so much! the thing I need in this last list is the matching index for every equal coordinate. Is there any chance you have an idea?
thanks in advance!

What does this mean?