# How to get the central line with dynamo from cad? Thank you!

**URL:** <https://forum.dynamobim.com/t/how-to-get-the-central-line-with-dynamo-from-cad-thank-you/64856>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [June 8, 2021, 5:13am UTC](https://forum.dynamobim.com/t/how-to-get-the-central-line-with-dynamo-from-cad-thank-you/64856 "2021-06-08T05:13:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiga2013](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@tiga2013](https://forum.dynamobim.com/u/tiga2013)\
**Post date:** [June 8, 2021, 5:13am UTC](https://forum.dynamobim.com/t/how-to-get-the-central-line-with-dynamo-from-cad-thank-you/64856/1 "2021-06-08T05:13:32Z")

</div>

How to get the central line with dynamo from cad?Thank you first!  
[How to get the central line with dynamo from cad.rvt](https://forum.dynamobim.com/uploads/short-url/3feRJ3RDOtG1ygdEgHeWs45AaU4.rvt) (2.8 MB)  
[How to get the central line with dynamo from cad.dyn](https://forum.dynamobim.com/uploads/short-url/lroKFEX3TYzchqc1a0Moni7ZtfM.dyn) (11.1 KB)  
[How to get the central line with dynamo from cad.dwg](https://forum.dynamobim.com/uploads/short-url/mo52FOEF55Obfa267Te0A7cBKW9.dwg) (44.7 KB)

---

<div class="post-metadata">

**Author:** ![ingenieroahmad](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ingenieroahmad/32/72992_2.png) [@ingenieroahmad](https://forum.dynamobim.com/u/ingenieroahmad)\
**Post date:** [June 8, 2021, 6:15am UTC](https://forum.dynamobim.com/t/how-to-get-the-central-line-with-dynamo-from-cad-thank-you/64856/2 "2021-06-08T06:15:31Z")

</div>

If you need to pick up any line from a specific layer from cad just link cad file into Revit then use BIMORPH Package to deal with it.

---

<div class="post-metadata">

**Author:** ![tiga2013](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@tiga2013](https://forum.dynamobim.com/u/tiga2013)\
**Post date:** [June 8, 2021, 9:23am UTC](https://forum.dynamobim.com/t/how-to-get-the-central-line-with-dynamo-from-cad-thank-you/64856/3 "2021-06-08T09:23:34Z")

</div>

Thanks! Yes,I get any lines from CAD with BIMORPH Package. But I want to get the central line between two parallel lines.

---

<div class="post-metadata">

**Author:** ![ingenieroahmad](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ingenieroahmad/32/72992_2.png) [@ingenieroahmad](https://forum.dynamobim.com/u/ingenieroahmad)\
**Post date:** [June 8, 2021, 1:54pm UTC](https://forum.dynamobim.com/t/how-to-get-the-central-line-with-dynamo-from-cad-thank-you/64856/4 "2021-06-08T13:54:33Z")

</div>

try to link start and end points of those lines and then create a point at middle of the resultant lines by point at parameter then draw a line by Line by start and end point.

---

<div class="post-metadata">

**Author:** ![tiga2013](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@tiga2013](https://forum.dynamobim.com/u/tiga2013)\
**Post date:** [June 10, 2021, 7:01am UTC](https://forum.dynamobim.com/t/how-to-get-the-central-line-with-dynamo-from-cad-thank-you/64856/5 "2021-06-10T07:01:28Z")

</div>

Thank you! I think so. But I do not know how to do it . i do not know how to group these points which together.

---

<div class="post-metadata">

**Author:** ![ingenieroahmad](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ingenieroahmad/32/72992_2.png) [@ingenieroahmad](https://forum.dynamobim.com/u/ingenieroahmad)\
**Post date:** [June 10, 2021, 8:01am UTC](https://forum.dynamobim.com/t/how-to-get-the-central-line-with-dynamo-from-cad-thank-you/64856/6 "2021-06-10T08:01:24Z")

</div>

Try this but it might need some cleaning process of the resultant lines like extend or fillet  
[trial g.dyn](https://forum.dynamobim.com/uploads/short-url/ukbAJFtggHzRpHD5YZinGDAMt1s.dyn) (82.9 KB)

---

<div class="post-metadata">

**Author:** ![tiga2013](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@tiga2013](https://forum.dynamobim.com/u/tiga2013)\
**Post date:** [June 21, 2021, 1:09am UTC](https://forum.dynamobim.com/t/how-to-get-the-central-line-with-dynamo-from-cad-thank-you/64856/7 "2021-06-21T01:09:14Z")

</div>

Thank you! It’s a good idea!

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