# Node: Create middle line between two parallel lines

**URL:** <https://forum.dynamobim.com/t/node-create-middle-line-between-two-parallel-lines/59447>\
**Category:** Geometry\
**Created:** [January 19, 2021, 8:15am UTC](https://forum.dynamobim.com/t/node-create-middle-line-between-two-parallel-lines/59447 "2021-01-19T08:15:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vasiliki\_Georgoula](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vasiliki_georgoula/32/102358_2.png) [@Vasiliki\_Georgoula](https://forum.dynamobim.com/u/Vasiliki_Georgoula)\
**Post date:** [January 19, 2021, 8:15am UTC](https://forum.dynamobim.com/t/node-create-middle-line-between-two-parallel-lines/59447/1 "2021-01-19T08:15:54Z")

</div>

Hello Dynamo Community,  
I am NOT looking for a “workflow” to achieve this, I am looking for some kind of node.  
Any ideas?  
Thanks in advance to everyone who takes time to read this.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [January 19, 2021, 8:22am UTC](https://forum.dynamobim.com/t/node-create-middle-line-between-two-parallel-lines/59447/2 "2021-01-19T08:22:58Z")

</div>

I don’t have a single node, but I have three which will do the trick fairly easily.

1. A Curve.PointAtParameter with proper lacing and parameter values of `0..1` with the list of curves as the single curve input.
2. A List.Flatten node to remove the data structure produced by the lacing of #1
3. A “Line.ByBestFitThoughPoints” node will do the trick

Once gathered you can set up a group or single line of design script to achieve the ‘one node’ you desired. 🙂

---

<div class="post-metadata">

**Author:** ![Vasiliki\_Georgoula](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vasiliki_georgoula/32/102358_2.png) [@Vasiliki\_Georgoula](https://forum.dynamobim.com/u/Vasiliki_Georgoula)\
**Post date:** [January 19, 2021, 9:41am UTC](https://forum.dynamobim.com/t/node-create-middle-line-between-two-parallel-lines/59447/3 "2021-01-19T09:41:07Z")

</div>

thanks Jacob, it worked!
