# Find unique point pairs?

**URL:** <https://discourse.mcneel.com/t/find-unique-point-pairs/219988>\
**Category:** Grasshopper\
**Tags:** windows\
**Created:** [June 16, 2026, 12:31pm UTC](https://discourse.mcneel.com/t/find-unique-point-pairs/219988 "2026-06-16T12:31:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Intuos](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/intuos/32/771015_2.png) [@Intuos](https://discourse.mcneel.com/u/Intuos)\
**Post date:** [June 16, 2026, 12:31pm UTC](https://discourse.mcneel.com/t/find-unique-point-pairs/219988/1 "2026-06-16T12:31:14Z")

</div>

I fail to understand why the top group result is different from the one where I cast the text into points. The latter is quite a bit slower, so I’d prefer to continue without the casting text to points. Any pointers?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/f/2/bf2f944fb4d62cf41c8cd8be068a9fd55ababea2.jpeg)  
[unique point pairs.gh](https://discourse.mcneel.com/uploads/short-url/A4S9MdK9aIt3QM3IKyLLfLEk2o9.gh) (20.4 KB)

---

<div class="post-metadata">

**Author:** ![martinsiegrist](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martinsiegrist/32/772775_2.png) [@martinsiegrist](https://discourse.mcneel.com/u/martinsiegrist)\
**Post date:** [June 16, 2026, 12:54pm UTC](https://discourse.mcneel.com/t/find-unique-point-pairs/219988/2 "2026-06-16T12:54:05Z")

</div>

Instead of relying on point to text conversion, you can cull duplicates and find closest points. This way you get the point index of each point.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/2/3/d/23d6780e49f9fe2620ce3adbe65bbaa284e095f7.png)

I don’t think what you do here is correct:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/2/a/72a0b59f66668cf9112f227468d0696485d2c51a.png)

You should use the member index component instead:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/7/2/372e5d1b625efcf338055100e08df3319392bf22.png)

Anyway, here’s the file with my approach not relying on text conversion:

[unique point pairs mrtn.gh](https://discourse.mcneel.com/uploads/short-url/je46vNBTyU9D3C8JEE4BJOGJjN5.gh) (36.3 KB)

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/7/2/372e5d1b625efcf338055100e08df3319392bf22.png)
