# Converting 2D AutoCAD lines to 3D Revit model

**URL:** <https://forum.dynamobim.com/t/converting-2d-autocad-lines-to-3d-revit-model/109286>\
**Category:** Revit\
**Tags:** revit, dynamo, script\
**Created:** [April 4, 2025, 3:35pm UTC](https://forum.dynamobim.com/t/converting-2d-autocad-lines-to-3d-revit-model/109286 "2025-04-04T15:35:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raouf.Belal](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@Raouf.Belal](https://forum.dynamobim.com/u/Raouf.Belal)\
**Post date:** [April 4, 2025, 3:35pm UTC](https://forum.dynamobim.com/t/converting-2d-autocad-lines-to-3d-revit-model/109286/1 "2025-04-04T15:35:57Z")

</div>

Hi There,  
I want a dynamo script to convert 2d autocad lines to 3d Revit models for MEP work  
These are my drawings and I need to create a 3d model matching all of these but I don’t have much time to do all, so I want a dynamo script that makes it easy and short time for me  
Specially in fir it is taking much time to create the model from 2d to 3d with sprinkler also  
thanks in advance for the help and support.

 ![03-fire](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/e/6e9073794e698d2ecd9a0c15b93c35810be64315.jpeg)  
 ![01-drainage](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/b/1b9f853712cce7f4d8447b930ac4339eacc43be7.jpeg)  
 ![02-water](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/0/a03884585e350118ddccbdc50c36ac7aa5c2a591.jpeg)

---

<div class="post-metadata">

**Author:** ![aaronrumple](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/aaronrumple/32/195292_2.png) [@aaronrumple](https://forum.dynamobim.com/u/aaronrumple)\
**Post date:** [April 4, 2025, 11:43pm UTC](https://forum.dynamobim.com/t/converting-2d-autocad-lines-to-3d-revit-model/109286/2 "2025-04-04T23:43:13Z")

</div>

> [@Raouf.Belal](#):
>
> I want a dynamo script

What have you done so far?  
Or are you soliciting proposals for the work?

---

<div class="post-metadata">

**Author:** ![Raouf.Belal](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@Raouf.Belal](https://forum.dynamobim.com/u/Raouf.Belal)\
**Post date:** [April 4, 2025, 11:57pm UTC](https://forum.dynamobim.com/t/converting-2d-autocad-lines-to-3d-revit-model/109286/3 "2025-04-04T23:57:11Z")

</div>

Hi @aaronrumple,  
I am not offering a work, i need help to complete my script  
I had this script already from Sparta in this link

> [@Create Pipe from DWG](https://forum.dynamobim.com/t/create-pipe-from-dwg/3308/35):
>
> Hi, I think I’m using the wrong code There are 2 different codes. The same blue lines appear when I use them. thank you for your interest

75% of my issues solved  
but still, I need to connect the pipes to each other, adjust the levels, and resize the pipes automatically in the network, especially for fire and water

 ![DWG_To_Pipe_2025-04-05_02-53-45](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7e545b5f59c92b414b3269d69a6635362b22ecb6.png)

---

<div class="post-metadata">

**Author:** ![aaronrumple](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/aaronrumple/32/195292_2.png) [@aaronrumple](https://forum.dynamobim.com/u/aaronrumple)\
**Post date:** [April 5, 2025, 3:38am UTC](https://forum.dynamobim.com/t/converting-2d-autocad-lines-to-3d-revit-model/109286/4 "2025-04-05T03:38:38Z")

</div>

That’s what we needed to see. Yes, you’ll need a good bit more as this will just give you pipes. And with the CAD file being flat (I assume.) There is a lot of adjustment to be done for heights and slopes. You might be better off breaking those tasks down into separate scripts. I think you would have to set the height of the sprinkler heads and work back from there with the slopes.

---

<div class="post-metadata">

**Author:** ![Raouf.Belal](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@Raouf.Belal](https://forum.dynamobim.com/u/Raouf.Belal)\
**Post date:** [April 7, 2025, 11:48pm UTC](https://forum.dynamobim.com/t/converting-2d-autocad-lines-to-3d-revit-model/109286/5 "2025-04-07T23:48:02Z")

</div>

yes no issue, this is what i will do, break all scripts down to a separate scripts, but i need help for them separately, that’s why i did this topic here  
any help?
