# Automating Topography Cutting in Revit Using Dynamo

**URL:** <https://forum.dynamobim.com/t/automating-topography-cutting-in-revit-using-dynamo/99900>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [April 10, 2024, 9:17am UTC](https://forum.dynamobim.com/t/automating-topography-cutting-in-revit-using-dynamo/99900 "2024-04-10T09:17:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![szekeressz](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/szekeressz/32/180256_2.png) [@szekeressz](https://forum.dynamobim.com/u/szekeressz)\
**Post date:** [April 10, 2024, 9:17am UTC](https://forum.dynamobim.com/t/automating-topography-cutting-in-revit-using-dynamo/99900/1 "2024-04-10T09:17:04Z")

</div>

Hello

I’m seeking assistance in creating a Dynamo script for Revit. I have a topography element and a closed polyline at 0 elevation level, both imported from a CAD drawing into the Revit model. I aim to automate the process of cutting the topography surface based on this polyline, as currently done manually with the Split Surface function. Furthermore, I intend to extend this automation to cut surfaces along multiple adjacent polylines.

The main challenge I’m facing is encountering an error with the Topography.Mesh node, which displays the message “Polycurves may be branching.”

Could anyone provide guidance on resolving this issue and effectively utilizing the Topography.Mesh node for cutting topography surfaces along closed polylines?

Any assistance or insights would be greatly appreciated!

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

---

<div class="post-metadata">

**Author:** ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)\
**Post date:** [April 10, 2024, 9:40am UTC](https://forum.dynamobim.com/t/automating-topography-cutting-in-revit-using-dynamo/99900/2 "2024-04-10T09:40:56Z")

</div>

Why are you even getting the topography?  
You only need to create the cutting elements that cut the topography right? As long as it only cuts the topography, the Z value of the top does not need to follow the topography right?

---

<div class="post-metadata">

**Author:** ![szekeressz](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/szekeressz/32/180256_2.png) [@szekeressz](https://forum.dynamobim.com/u/szekeressz)\
**Post date:** [April 10, 2024, 9:56am UTC](https://forum.dynamobim.com/t/automating-topography-cutting-in-revit-using-dynamo/99900/3 "2024-04-10T09:56:15Z")

</div>

I use the topography for this task.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/e/ce676d4ab5dd307460409ac728212877d7ee57c4.png)  
I have the cutting element, the closed polycurve or the solid extruded element the lot. I need to cut the topography along the plot boundary.

---

<div class="post-metadata">

**Author:** ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)\
**Post date:** [April 10, 2024, 9:57am UTC](https://forum.dynamobim.com/t/automating-topography-cutting-in-revit-using-dynamo/99900/4 "2024-04-10T09:57:58Z")

</div>

You can just cut the topography.

Create the cutting element separately

---

<div class="post-metadata">

**Author:** ![szekeressz](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/szekeressz/32/180256_2.png) [@szekeressz](https://forum.dynamobim.com/u/szekeressz)\
**Post date:** [April 10, 2024, 11:59am UTC](https://forum.dynamobim.com/t/automating-topography-cutting-in-revit-using-dynamo/99900/5 "2024-04-10T11:59:28Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/1/d15ce67761a015dba5d393d157522ddc7f5a2803.png)  
The Element.CutGeometry node gives back same two element like the inputs. I also tried with different lacing options. What do you mean by creating the cutting element separately, the solid body is not a cutting element?

---

<div class="post-metadata">

**Author:** ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)\
**Post date:** [April 10, 2024, 12:09pm UTC](https://forum.dynamobim.com/t/automating-topography-cutting-in-revit-using-dynamo/99900/6 "2024-04-10T12:09:43Z")

</div>

You have to connect the right type of nodes.

You cannot cut a NurbsCurve.  
You need to feed it the original element, not the NurbsCurve of the Element

---

<div class="post-metadata">

**Author:** ![szekeressz](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/szekeressz/32/180256_2.png) [@szekeressz](https://forum.dynamobim.com/u/szekeressz)\
**Post date:** [April 10, 2024, 1:42pm UTC](https://forum.dynamobim.com/t/automating-topography-cutting-in-revit-using-dynamo/99900/7 "2024-04-10T13:42:15Z")

</div>

Again, nothing happens. Maybe because the two elements don’t intersect, or because the surface model doesn’t appear that way? Should the plot boundary be projected onto the topo surface?

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

---

<div class="post-metadata">

**Author:** ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)\
**Post date:** [April 10, 2024, 1:51pm UTC](https://forum.dynamobim.com/t/automating-topography-cutting-in-revit-using-dynamo/99900/8 "2024-04-10T13:51:18Z")

</div>

Your cutting element is an Import Instance. You cannot use a DWG to cut a topography.

Please consult the dynamo primer to understand the basics of connecting nodes  
[https://primer.dynamobim.org/03\_Anatomy-of-a-Dynamo-Definition/3-1\_dynamo\_nodes.html](https://primer.dynamobim.org/03_Anatomy-of-a-Dynamo-Definition/3-1_dynamo_nodes.html)
