# Trimm lines in dynamo

**URL:** <https://forum.dynamobim.com/t/trimm-lines-in-dynamo/24466>\
**Category:** Uncategorized\
**Created:** [August 3, 2018, 9:50pm UTC](https://forum.dynamobim.com/t/trimm-lines-in-dynamo/24466 "2018-08-03T21:50:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramoon.bandeira](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ramoon.bandeira/32/23449_2.png) [@ramoon.bandeira](https://forum.dynamobim.com/u/ramoon.bandeira)\
**Post date:** [August 3, 2018, 9:50pm UTC](https://forum.dynamobim.com/t/trimm-lines-in-dynamo/24466/1 "2018-08-03T21:50:55Z")

</div>

So i have The lines in dynamo.  
I want to trimm/extend the lines automatically.  
Is there a way to do so ?

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

---

<div class="post-metadata">

**Author:** ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)\
**Post date:** [August 3, 2018, 11:02pm UTC](https://forum.dynamobim.com/t/trimm-lines-in-dynamo/24466/2 "2018-08-03T23:02:35Z")

</div>

Have you had a look at this topics solution?

> [@Extend curve to the nearest curve](https://forum.dynamobim.com/t/extend-curve-to-the-nearest-curve/22706/3):
>
> @franciscopossetto As @awilliams suggested use Geometry.DistanceTo, find the min distance, filter, extend with Springs.LineLoop.Merge

---

<div class="post-metadata">

**Author:** ![ramoon.bandeira](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ramoon.bandeira/32/23449_2.png) [@ramoon.bandeira](https://forum.dynamobim.com/u/ramoon.bandeira)\
**Post date:** [August 7, 2018, 5:47pm UTC](https://forum.dynamobim.com/t/trimm-lines-in-dynamo/24466/3 "2018-08-07T17:47:32Z")

</div>

I managed to find the solution.  
i used the Node “MEP Connector Info” from the MEPover package. I used a filter between the connector points and the info provided by this node to create the points of the connected elements in dynamo. Thus, i could create lines with the insertion points of the family.
