# Duplicated Surfaces: unique elements

**URL:** <https://forum.dynamobim.com/t/duplicated-surfaces-unique-elements/97883>\
**Category:** Revit\
**Tags:** geometry\
**Created:** [February 7, 2024, 12:39pm UTC](https://forum.dynamobim.com/t/duplicated-surfaces-unique-elements/97883 "2024-02-07T12:39:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin.scholtyssekM76](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@kevin.scholtyssekM76](https://forum.dynamobim.com/u/kevin.scholtyssekM76)\
**Post date:** [February 7, 2024, 12:39pm UTC](https://forum.dynamobim.com/t/duplicated-surfaces-unique-elements/97883/1 "2024-02-07T12:39:46Z")

</div>

Hello @all,  
i got a list with horizontal surfaces sorted after their elevation.  
some of them are “duplicated” because they have the same height.

Is there a way to get the “unique” surfaces only in a list ?

Kind regards  
Kevin

---

<div class="post-metadata">

**Author:** ![kevin.scholtyssekM76](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@kevin.scholtyssekM76](https://forum.dynamobim.com/u/kevin.scholtyssekM76)\
**Post date:** [February 7, 2024, 12:40pm UTC](https://forum.dynamobim.com/t/duplicated-surfaces-unique-elements/97883/2 "2024-02-07T12:40:17Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/0/80ec67996ca2dce0d11aa8e4703dd54f67939e90.png)

---

<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:** [February 7, 2024, 12:42pm UTC](https://forum.dynamobim.com/t/duplicated-surfaces-unique-elements/97883/3 "2024-02-07T12:42:46Z")

</div>

Hi @kevin.scholtyssekM76 you could try get the surface centerpoint and use oootb prune duplicates for filter…or try datashapes prune.geometry…or probably use these numbers you get from sorted keys for sort

---

<div class="post-metadata">

**Author:** ![kevin.scholtyssekM76](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@kevin.scholtyssekM76](https://forum.dynamobim.com/u/kevin.scholtyssekM76)\
**Post date:** [February 7, 2024, 1:14pm UTC](https://forum.dynamobim.com/t/duplicated-surfaces-unique-elements/97883/4 "2024-02-07T13:14:13Z")

</div>

hey @sovitek,  
i try to sort them by the numbers from the sorted key, but my problem is that i have less key numbers than the list numbers, so i can not match them up… or is there a way i do not know about 😃

---

<div class="post-metadata">

**Author:** ![kevin.scholtyssekM76](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@kevin.scholtyssekM76](https://forum.dynamobim.com/u/kevin.scholtyssekM76)\
**Post date:** [February 7, 2024, 1:21pm UTC](https://forum.dynamobim.com/t/duplicated-surfaces-unique-elements/97883/5 "2024-02-07T13:21:12Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/d/2d61dcfd421859b4810ef8c351d70c776298357c.png)  
somhow i dont get the right order of the surfaces…  
in blue the heights as before and in red as it turns out afterwards…  
they should be the same…

---

<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:** [February 8, 2024, 7:59am UTC](https://forum.dynamobim.com/t/duplicated-surfaces-unique-elements/97883/6 "2024-02-08T07:59:31Z")

</div>

hi not sure, did you try prune geometry from datashapes…if you have a small sample rvt, we can take a look

---

<div class="post-metadata">

**Author:** ![kevin.scholtyssekM76](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@kevin.scholtyssekM76](https://forum.dynamobim.com/u/kevin.scholtyssekM76)\
**Post date:** [February 8, 2024, 12:03pm UTC](https://forum.dynamobim.com/t/duplicated-surfaces-unique-elements/97883/7 "2024-02-08T12:03:13Z")

</div>

hey, i did it now with unique elements and the GroupByKey Node 🙂  
thanks for help 🙂

---

<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:** [February 8, 2024, 12:08pm UTC](https://forum.dynamobim.com/t/duplicated-surfaces-unique-elements/97883/8 "2024-02-08T12:08:12Z")

</div>

thats great, i mark your solution 😉
