# Create line between 2 lines

**URL:** <https://forum.dynamobim.com/t/create-line-between-2-lines/15453>\
**Category:** Revit\
**Created:** [October 8, 2017, 7:53pm UTC](https://forum.dynamobim.com/t/create-line-between-2-lines/15453 "2017-10-08T19:53:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.petrin](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daniel.petrin/32/27974_2.png) [@daniel.petrin](https://forum.dynamobim.com/u/daniel.petrin)\
**Post date:** [October 8, 2017, 7:53pm UTC](https://forum.dynamobim.com/t/create-line-between-2-lines/15453/1 "2017-10-08T19:53:56Z")

</div>

Hi,

I’m trying to create a center line, between 2 lines… i wrote in the imagem below what i need…

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

---

<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:** [October 9, 2017, 2:05am UTC](https://forum.dynamobim.com/t/create-line-between-2-lines/15453/2 "2017-10-09T02:05:00Z")

</div>

Perhaps a line by best fit through all start and end points would be simplist here?

Could also get the vector between the start points, cut that in half, and translate the first line by that distance.

---

<div class="post-metadata">

**Author:** ![visualizor](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/visualizor/32/29555_2.png) [@visualizor](https://forum.dynamobim.com/u/visualizor)\
**Post date:** [October 9, 2017, 1:35pm UTC](https://forum.dynamobim.com/t/create-line-between-2-lines/15453/3 "2017-10-09T13:35:05Z")

</div>

straight line version

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

curves interpolated version

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

---

<div class="post-metadata">

**Author:** ![mzubair.bece16MF3WD](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mzubair.bece16MF3WD](https://forum.dynamobim.com/u/mzubair.bece16MF3WD)\
**Post date:** [December 19, 2022, 2:04am UTC](https://forum.dynamobim.com/t/create-line-between-2-lines/15453/4 "2022-12-19T02:04:40Z")

</div>

@jacob.small, can you please tell the name of Dynamo package that will be downloaded for the node Curves.Dividecurve.

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [December 19, 2022, 12:07pm UTC](https://forum.dynamobim.com/t/create-line-between-2-lines/15453/5 "2022-12-19T12:07:49Z")

</div>

Hello,  
here is a possibility

 ![Capture d’écran 2022-12-19 130658](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/7/c764946e7a23e05d97e982d976b37901fe77d8e3.jpeg)

Cordially  
christian.stan
