# Filtering edges based on highest Z Value

**URL:** <https://forum.dynamobim.com/t/filtering-edges-based-on-highest-z-value/65935>\
**Category:** Civil 3D\
**Created:** [July 7, 2021, 11:18pm UTC](https://forum.dynamobim.com/t/filtering-edges-based-on-highest-z-value/65935 "2021-07-07T23:18:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![shahid.shaikh\_C3D](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@shahid.shaikh\_C3D](https://forum.dynamobim.com/u/shahid.shaikh_C3D)\
**Post date:** [July 8, 2021, 4:35pm UTC](https://forum.dynamobim.com/t/filtering-edges-based-on-highest-z-value/65935/3 "2021-07-08T16:35:25Z")

</div>

Hi @marshmallow Not as detailed one as @zachri.jensen but this is one of they way i prefer to filter points if XY coordinates are same and filter the lower most point for same XY.

> [@Filter lines with only their z coordinate as the difference](https://forum.dynamobim.com/t/filter-lines-with-only-their-z-coordinate-as-the-difference/65623/8):
>
> Hi @JelleAtBodemplan Based on your description Please find the bellow screenshot for green part of the code which you are looking for. Hope this is what you are looking for. P.S. Additional info:

Hope this helps.

---

_[View the full topic](https://forum.dynamobim.com/t/filtering-edges-based-on-highest-z-value/65935)._
