Solved : Geometry nodes : How to create an edge between two points that have same attribute value

Quite the long title eh ? So basically, I have points, these points all have an attribute that pairs them by groups of two. So for let’s say 14 points, I have 7 groups of points with 2 points each. A points does not appear in multiple groups. The goal is straightforward : for every of these 7 groups, how to, automatically so that it works no matter the amount of groups, get the position of the 2 points of said group and use them as ends of a mesh line ? I’m in blender 4.5.3 for this.

P.S would have loved to link an image of my nodetree but new users can’t for some reason.

Use Points to Curves. Use the Group ID to pair things up.

e.g.:

Good luck.

Had to adapt it a bit but it worked perfectly ! Thanks a bunch, it’ll be better than my current solution