# How to connect two pipes in the same position into one

**URL:** <https://forum.dynamobim.com/t/how-to-connect-two-pipes-in-the-same-position-into-one/79966>\
**Category:** Revit\
**Tags:** revit, mep, dynamo\
**Created:** [August 17, 2022, 8:13am UTC](https://forum.dynamobim.com/t/how-to-connect-two-pipes-in-the-same-position-into-one/79966 "2022-08-17T08:13:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deg\_zx](https://avatars.discourse-cdn.com/v4/letter/d/7ab992/32.png) [@deg\_zx](https://forum.dynamobim.com/u/deg_zx)\
**Post date:** [August 17, 2022, 8:13am UTC](https://forum.dynamobim.com/t/how-to-connect-two-pipes-in-the-same-position-into-one/79966/1 "2022-08-17T08:13:36Z")

</div>

I have some vertical pipes, that are in the same horizontal position, but not at the same level. I can move the endpoint to connect them in Revit, so how to do this with dynamo or a script?  
 ![001](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/c/6c567dd7ab74a25db8a15a9c233509bdb2afbedd.png)

---

<div class="post-metadata">

**Author:** ![tuanle](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@tuanle](https://forum.dynamobim.com/u/tuanle)\
**Post date:** [November 3, 2022, 9:14am UTC](https://forum.dynamobim.com/t/how-to-connect-two-pipes-in-the-same-position-into-one/79966/2 "2022-11-03T09:14:46Z")

</div>

I usually delete 1 of 2 pipe

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [November 3, 2022, 9:21am UTC](https://forum.dynamobim.com/t/how-to-connect-two-pipes-in-the-same-position-into-one/79966/3 "2022-11-03T09:21:16Z")

</div>

Try this one from genius loci  
 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/9/994dd0be426c1dded98014b02218eb0c11901e96.png)

---

<div class="post-metadata">

**Author:** ![deg\_zx](https://avatars.discourse-cdn.com/v4/letter/d/7ab992/32.png) [@deg\_zx](https://forum.dynamobim.com/u/deg_zx)\
**Post date:** [November 4, 2022, 12:58am UTC](https://forum.dynamobim.com/t/how-to-connect-two-pipes-in-the-same-position-into-one/79966/4 "2022-11-04T00:58:08Z")

</div>

Perfect! Thanks a lot~
