# Get point from intersection by line and mesh (topography)

**URL:** <https://forum.dynamobim.com/t/get-point-from-intersection-by-line-and-mesh-topography/97769>\
**Category:** Revit\
**Tags:** revit, python, geometry, dynamo\
**Created:** [February 3, 2024, 5:04pm UTC](https://forum.dynamobim.com/t/get-point-from-intersection-by-line-and-mesh-topography/97769 "2024-02-03T17:04:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveingcvl](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@steveingcvl](https://forum.dynamobim.com/u/steveingcvl)\
**Post date:** [February 3, 2024, 5:04pm UTC](https://forum.dynamobim.com/t/get-point-from-intersection-by-line-and-mesh-topography/97769/1 "2024-02-03T17:04:38Z")

</div>

Get point from intersection by line and mesh (topography) in revit 21+  
which is the best, node or python code for this? and how?

 ![Captura de pantalla 2024-02-03 115600](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/9/29ffb887043d69aeb2802d41e0f97049cd48882d.png)

---

<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:** [February 3, 2024, 9:17pm UTC](https://forum.dynamobim.com/t/get-point-from-intersection-by-line-and-mesh-topography/97769/2 "2024-02-03T21:17:16Z")

</div>

I think I would go Python here, but I would need to know more about what you are trying to do. Is it ‘elevation’ on surface at a given XY location?

---

<div class="post-metadata">

**Author:** ![steveingcvl](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@steveingcvl](https://forum.dynamobim.com/u/steveingcvl)\
**Post date:** [February 4, 2024, 3:09am UTC](https://forum.dynamobim.com/t/get-point-from-intersection-by-line-and-mesh-topography/97769/3 "2024-02-04T03:09:09Z")

</div>

Yes, I want to obtain the elevation, to be honest, what I did was take it to civil 3D, and correct the elevations of those points with the surface.  
Could this be done in Revit?

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [February 4, 2024, 7:33am UTC](https://forum.dynamobim.com/t/get-point-from-intersection-by-line-and-mesh-topography/97769/4 "2024-02-04T07:33:42Z")

</div>

If you have this topology in c3d . Use BriMohareb\_2023 or civilconnection ( can access to c3d com api)package. You can get point elevations at the surface.

> [@"BriMohareb\_XXXX" Package for RevitXXXX Thread](https://forum.dynamobim.com/t/brimohareb-xxxx-package-for-revitxxxx-thread/84362):
>
> This packedge use Dynamo Revit\_2023 as plateform to integrating Revit\_23, Civil3d\_23 , Autocad, sofistik\_2018, sofistik\_2023 and Add extra geometry nodes to dynamo through API. It help bridge and tunnel engineers to create and Automate automate model and design. Also makes it possible to create complex bridge and tunnel elements by using Adaptive family

---

<div class="post-metadata">

**Author:** ![Ecenurc](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ecenurc/32/177701_2.png) [@Ecenurc](https://forum.dynamobim.com/u/Ecenurc)\
**Post date:** [February 4, 2024, 2:54pm UTC](https://forum.dynamobim.com/t/get-point-from-intersection-by-line-and-mesh-topography/97769/5 "2024-02-04T14:54:23Z")

</div>

> [@Projecting buildings on topography (I have added files)](https://forum.dynamobim.com/t/projecting-buildings-on-topography-i-have-added-files/94378/5):
>
> I’d say the easiest way to achieve this is using ray bounces, assuming that is a topography in Revit. The Data Shapes package has a node for this with a category filter, try it out. Get the min point of the bounding box of each building, then the ray bounced point and compare their Z values. You can then move each building by a Z vector of that size so it will sit at the topo level. Noting you will only be able to project them to one point of the building this way, so typically this would be ce…

Gavin Crump suggested using ray bounces in this case.
