# Is there a way to add a DEM file to a surface with Dynamo?

**URL:** <https://forum.dynamobim.com/t/is-there-a-way-to-add-a-dem-file-to-a-surface-with-dynamo/76452>\
**Category:** Civil 3D\
**Created:** [May 11, 2022, 11:00pm UTC](https://forum.dynamobim.com/t/is-there-a-way-to-add-a-dem-file-to-a-surface-with-dynamo/76452 "2022-05-11T23:00:17Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [May 13, 2022, 2:02pm UTC](https://forum.dynamobim.com/t/is-there-a-way-to-add-a-dem-file-to-a-surface-with-dynamo/76452/5 "2022-05-13T14:02:56Z")

</div>

Hi

See this and need some changes

> [@TinSurface from 3D Faces](https://forum.dynamobim.com/t/tinsurface-from-3d-faces/73155/3):
>
> Hi @JPhil, To get the edges and vertices from the Faces, you would do something like this: However, it will be a very heavy set of operations to deconstruct the faces into vertices and edges and then build the TIN Surface from COGO Points and breaklines. It will be much faster to build the surface from the faces directly using the API. Here’s some code for you to try out in a Python node. import clr clr.AddReference('AcDbMgd') clr.AddReference('AeccDbMgd') clr.…

 ![Screenshot_٢٠٢٢_٠٥١٣_١٦٥٧٣٩](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/b/7b835110f2838961463453201d1bb19a0a29f01f.png)

---

_[View the full topic](https://forum.dynamobim.com/t/is-there-a-way-to-add-a-dem-file-to-a-surface-with-dynamo/76452)._
