# Automatic Duct Split by zone boundry

**URL:** <https://forum.dynamobim.com/t/automatic-duct-split-by-zone-boundry/51514>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [June 7, 2020, 11:46am UTC](https://forum.dynamobim.com/t/automatic-duct-split-by-zone-boundry/51514 "2020-06-07T11:46:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eng.ahmedelshamy.bim](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@eng.ahmedelshamy.bim](https://forum.dynamobim.com/u/eng.ahmedelshamy.bim)\
**Post date:** [June 7, 2020, 11:46am UTC](https://forum.dynamobim.com/t/automatic-duct-split-by-zone-boundry/51514/1 "2020-06-07T11:46:25Z")

</div>

I have a project divided in zones and my MEP ducting is not following the same zoning, is there a way to define the intersection between the ducts and zoning boundary and automatically split the ducts in the intersection locations to be able to split it to be used in QTO.

---

<div class="post-metadata">

**Author:** ![eng.ahmedelshamy.bim](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@eng.ahmedelshamy.bim](https://forum.dynamobim.com/u/eng.ahmedelshamy.bim)\
**Post date:** [June 16, 2020, 12:53pm UTC](https://forum.dynamobim.com/t/automatic-duct-split-by-zone-boundry/51514/2 "2020-06-16T12:53:11Z")

</div>

Guys is there any updates if someone can help on this

---

<div class="post-metadata">

**Author:** ![mj.deboer](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@mj.deboer](https://forum.dynamobim.com/u/mj.deboer)\
**Post date:** [June 16, 2020, 1:05pm UTC](https://forum.dynamobim.com/t/automatic-duct-split-by-zone-boundry/51514/3 "2020-06-16T13:05:44Z")

</div>

Do you have an example (image, rvt file)?  
i dont really understand what you want?

---

<div class="post-metadata">

**Author:** ![eng.ahmedelshamy.bim](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@eng.ahmedelshamy.bim](https://forum.dynamobim.com/u/eng.ahmedelshamy.bim)\
**Post date:** [June 16, 2020, 1:25pm UTC](https://forum.dynamobim.com/t/automatic-duct-split-by-zone-boundry/51514/4 "2020-06-16T13:25:57Z")

</div>

sure as per the snapshot i attached, i defined the zoning by creating walls define the zones, then what i need i am looking for a script to search for the intersect between duct or pipe and walls and auto-place duct union or pipe coupling in the intersection point, i saw some post i tried to follow the same but every time give me disconnection of elements and not properly done.

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

---

<div class="post-metadata">

**Author:** ![eng.ahmedelshamy.bim](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@eng.ahmedelshamy.bim](https://forum.dynamobim.com/u/eng.ahmedelshamy.bim)\
**Post date:** [June 16, 2020, 1:52pm UTC](https://forum.dynamobim.com/t/automatic-duct-split-by-zone-boundry/51514/5 "2020-06-16T13:52:27Z")

</div>

I worked on a script to do the auto split by help from other scripts here on the forum but every time i got this message i attached also photo for the script.

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

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/d/adf33d8e5232dd675d72fab6b379592acccf25ae.png)

---

<div class="post-metadata">

**Author:** ![eng.ahmedelshamy.bim](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@eng.ahmedelshamy.bim](https://forum.dynamobim.com/u/eng.ahmedelshamy.bim)\
**Post date:** [June 28, 2020, 4:35am UTC](https://forum.dynamobim.com/t/automatic-duct-split-by-zone-boundry/51514/6 "2020-06-28T04:35:50Z")

</div>

Is there any updates or solutions

---

<div class="post-metadata">

**Author:** ![eng.ahmedelshamy.bim](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@eng.ahmedelshamy.bim](https://forum.dynamobim.com/u/eng.ahmedelshamy.bim)\
**Post date:** [July 7, 2020, 4:37am UTC](https://forum.dynamobim.com/t/automatic-duct-split-by-zone-boundry/51514/7 "2020-07-07T04:37:51Z")

</div>

the script mentioned above is working in new projects but the current project i have it seems give this message when i run the script is there an reason or logic issue in the script i am using ??? i attached earlier the script as well as the warning message.
