# Topography in dynamo

**URL:** https://forum.dynamobim.com/t/topography-in-dynamo/46327
**Category:** DesignScript
**Created:** [February 4, 2020, 1:47pm UTC](https://forum.dynamobim.com/t/topography-in-dynamo/46327 "2020-02-04T13:47:17Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![shershahbacha9](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@shershahbacha9](https://forum.dynamobim.com/u/shershahbacha9)
#### Post date: [February 4, 2020, 1:47pm UTC](https://forum.dynamobim.com/t/topography-in-dynamo/46327/1 "2020-02-04T13:47:17Z")

</div>

Hello !!  
i have two topography surfaces in Revit placed over each other which some how differs in height. I want to calculate their differences in height. So here is my process.  
i create grid lines mesh and took its intersection points. placed my both topographies over that grid mesh and project points on those topographies. For both topography surfaces , the point projected has same x,y but different z and thats why on that point i know its difference in height.

But i cannot do it in Revit, and i have to import my topography surface to dynamo which takes alot of time. I want to know that can i do this in Revit , like the intersection points of mesh can be projected on topography in Revit instead of importing topography to dynamo.  
or should i change my method of importing topography to Revit.

[dynamo for comparison.dyn](https://forum.dynamobim.com/uploads/short-url/sfHDrCJTqnq89h9ScfjoctJo1DS.dyn) (65.7 KB) I am sharing my code here and you can see in the group “getting topography” how i import my topography to dynamo

---

<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 4, 2020, 4:26pm UTC](https://forum.dynamobim.com/t/topography-in-dynamo/46327/2 "2020-02-04T16:26:08Z")

</div>

Assuming you have gathered your surfaces and found your relevant points, then two Point.Project nodes, followed by a Geometry.DistanceTo node should be all you need.

[https://dictionary.dynamobim.com/#/Geometry/Point/Action/Project](https://dictionary.dynamobim.com/#/Geometry/Point/Action/Project)

[https://dictionary.dynamobim.com/#/Geometry/Geometry/Action/DistanceTo](https://dictionary.dynamobim.com/#/Geometry/Geometry/Action/DistanceTo)

---

<div class="post-metadata">

### Author: ![shershahbacha9](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@shershahbacha9](https://forum.dynamobim.com/u/shershahbacha9)
#### Post date: [February 4, 2020, 6:19pm UTC](https://forum.dynamobim.com/t/topography-in-dynamo/46327/3 "2020-02-04T18:19:59Z")

</div>

i mean is there any method to do it in Revit instead of dynamo. I mean the gridpoints which i project are also present in Revit and toposurface is also in Revit. I mean any code in dynamo that do these tasks in Revit. By this, i dont have to import topography surface into dynamo. which takes alot of time

---

<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 5, 2020, 12:23pm UTC](https://forum.dynamobim.com/t/topography-in-dynamo/46327/4 "2020-02-05T12:23:19Z")

</div>

You could pull the grids, make the points, and try a ray bounce to find the spot on the toposurface above the point (once for each toposurface), and then create a line between the points, and finally use the resulting curve to create a line based family.

No idea if the ray bounce will work though as I haven’t tried that before.

---

<div class="post-metadata">

### Author: ![lennart030](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lennart030](https://forum.dynamobim.com/u/lennart030)
#### Post date: [February 5, 2020, 1:32pm UTC](https://forum.dynamobim.com/t/topography-in-dynamo/46327/5 "2020-02-05T13:32:57Z")

</div>

in revit you have the function graded region for this task.

---

<div class="post-metadata">

### Author: ![shershahbacha9](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@shershahbacha9](https://forum.dynamobim.com/u/shershahbacha9)
#### Post date: [February 5, 2020, 1:44pm UTC](https://forum.dynamobim.com/t/topography-in-dynamo/46327/6 "2020-02-05T13:44:34Z")

</div>

it would be great if you could explain a little more please

---

<div class="post-metadata">

### Author: ![lennart030](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lennart030](https://forum.dynamobim.com/u/lennart030)
#### Post date: [February 5, 2020, 2:01pm UTC](https://forum.dynamobim.com/t/topography-in-dynamo/46327/7 "2020-02-05T14:01:31Z")

</div>

this function is under the tab massing and site. You select the “existing” topo surface and then place the points for the new one. It calculates the fill and cut between the two surfaces. you can also import the new surface as CSV or DWG

---

<div class="post-metadata">

### Author: ![shershahbacha9](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@shershahbacha9](https://forum.dynamobim.com/u/shershahbacha9)
#### Post date: [February 5, 2020, 2:26pm UTC](https://forum.dynamobim.com/t/topography-in-dynamo/46327/8 "2020-02-05T14:26:14Z")

</div>

its working, thanks.

---

<div class="post-metadata">

### Author: ![Teja5zz](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@Teja5zz](https://forum.dynamobim.com/u/Teja5zz)
#### Post date: [July 12, 2021, 1:58pm UTC](https://forum.dynamobim.com/t/topography-in-dynamo/46327/9 "2021-07-12T13:58:46Z")

</div>

Can you please explain how you did this , can you estimate the quantities.
