# Error getting unique points from a list

**URL:** <https://forum.dynamobim.com/t/error-getting-unique-points-from-a-list/95811>\
**Category:** Geometry\
**Tags:** revit, geometry, dynamo\
**Created:** [November 24, 2023, 11:12am UTC](https://forum.dynamobim.com/t/error-getting-unique-points-from-a-list/95811 "2023-11-24T11:12:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NIRMAL](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nirmal/32/150135_2.png) [@NIRMAL](https://forum.dynamobim.com/u/NIRMAL)\
**Post date:** [November 24, 2023, 11:12am UTC](https://forum.dynamobim.com/t/error-getting-unique-points-from-a-list/95811/1 "2023-11-24T11:12:10Z")

</div>

Hi  
I want to get the list of unique points from a given list of points.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/4/74e68e027719cc88968bf51e67aa99c605bfd432.png)

I have used List.UniqueItems node but it is still giving me some duplicates as shown in the snap.  
I think there should be a workaround. Please let me know.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [November 24, 2023, 11:14am UTC](https://forum.dynamobim.com/t/error-getting-unique-points-from-a-list/95811/2 "2023-11-24T11:14:56Z")

</div>

Hi @NIRMAL try prune duplicates

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [November 24, 2023, 2:12pm UTC](https://forum.dynamobim.com/t/error-getting-unique-points-from-a-list/95811/3 "2023-11-24T14:12:59Z")

</div>

Point.PruneDuplicates is the correct method here, as the points are not actually the same object in memory, but are uniquely constructed/returned. Things like floating point errors, data conversion discrepancies, and the like all contribute to the ‘not the same but similar’ results.
