# Create room boundary lines from a cad plan or 2d linework like detaillines

**URL:** <https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework-like-detaillines/32705>\
**Category:** Uncategorized\
**Created:** [February 27, 2019, 8:43am UTC](https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework-like-detaillines/32705 "2019-02-27T08:43:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [February 27, 2019, 8:43am UTC](https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework-like-detaillines/32705/1 "2019-02-27T08:43:41Z")

</div>

[https://dynamobim.org/forums/topic/create-room-boundary-lines-from-a-cad-plan-or-2d-linework/](https://dynamobim.org/forums/topic/create-room-boundary-lines-from-a-cad-plan-or-2d-linework/)

Hello Dynos,

Where is this topic disepeart? I would like convert Modellines to Roombounding lines, How?

Is there any topic in this way. I am glad about any advice.

KR

Andreas

---

<div class="post-metadata">

**Author:** ![kennyb6](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kennyb6](https://forum.dynamobim.com/u/kennyb6)\
**Post date:** [February 27, 2019, 8:45am UTC](https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework-like-detaillines/32705/2 "2019-02-27T08:45:52Z")

</div>

> [@Create room boundary lines from a CAD plan or 2D linework](https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework/1374):
>
> Hi I am new to Dynamo and i have read a few articles about creating rooms. At present i have some 2d poly lines drawn within AutoCAD i want to import to Revit (explode if i have to) and then create room separation lines from this linework. Can this be achieved? &nbsp; &nbsp;

Works for me. However, the picture isn’t legible due to it being from the old forum. But they key bit is the node in the Clockwork package I believe.

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [February 27, 2019, 8:47am UTC](https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework-like-detaillines/32705/3 "2019-02-27T08:47:34Z")

</div>

> [@Viewing Images from the old Forum](https://forum.dynamobim.com/t/viewing-images-from-the-old-forum/18029):
>
> Hi I have found the solution to my question but it is back from 2015 forum. [https://forum.dynamobim.com/t/xyz-point-coordinate-list/994](https://forum.dynamobim.com/t/xyz-point-coordinate-list/994). Rather than ask again, is there way to view the images posted in the answers in the forum post? Thanks CO

---

<div class="post-metadata">

**Author:** ![kennyb6](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kennyb6](https://forum.dynamobim.com/u/kennyb6)\
**Post date:** [February 27, 2019, 8:49am UTC](https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework-like-detaillines/32705/4 "2019-02-27T08:49:12Z")

</div>

Ah but that is the link in the OP of this thread, which leads to a 404. Could that happen if someone were to edit the title of a thread, that the url will be different from the title, yet when it was converted to the new forum, the url is changed?

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [February 27, 2019, 8:52am UTC](https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework-like-detaillines/32705/5 "2019-02-27T08:52:46Z")

</div>

… it looks like a general link. I need just to convert lines (modellines, detail lines,) to a room-bounding-line … or need I API Python stuff to do that? KR Andreas

---

<div class="post-metadata">

**Author:** ![kennyb6](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kennyb6](https://forum.dynamobim.com/u/kennyb6)\
**Post date:** [February 27, 2019, 8:59am UTC](https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework-like-detaillines/32705/6 "2019-02-27T08:59:56Z")

</div>

I believe the element you are trying to make are Room Separators, for which there is a node in the Clockwork package: RoomSeparator.FromCurve

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [February 27, 2019, 9:01am UTC](https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework-like-detaillines/32705/7 "2019-02-27T09:01:59Z")

</div>

I think the node is called RoomSeparations from Curve  
Take a look over here

> [@Room Separators Plane incorrect from RoomSeparator.FromCurve with Curves.FromCADLayers](https://forum.dynamobim.com/t/room-separators-plane-incorrect-from-roomseparator-fromcurve-with-curves-fromcadlayers/17973):
>
> Hi all, I’m stuck with this one. I’m trying to create Room Separators from curves generated from bimorph node Curves.FromCADLayers. The script is set up to work with the Dynamo Player so it collects a CAD link from the Active View, filters the CAD.LayerNamesInUse to the layer that will be room separators, creates a sketch plane from the level and then creates room separators. I thought it should work but I realize the room separators are all coming in at zero elevation regardless of the Sketch…

So what you do is get the model lines, use element.geometry or element.locations to get the curves feed those in the RoomSeparatorFromCurve node, set a sketchplane (use the plane from the level) and a view (plan from that level)

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [February 27, 2019, 9:17am UTC](https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework-like-detaillines/32705/8 "2019-02-27T09:17:07Z")

</div>

![2019-02-27_10h15_39](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/9/399507d924810c925b65cccf20c327546cc4004e.png)  
almost… I think the script is at this point not working. It works until CAD.CurvesFromCADLayers

---

<div class="post-metadata">

**Author:** ![thethtarzaw](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@thethtarzaw](https://forum.dynamobim.com/u/thethtarzaw)\
**Post date:** [November 16, 2019, 4:44pm UTC](https://forum.dynamobim.com/t/create-room-boundary-lines-from-a-cad-plan-or-2d-linework-like-detaillines/32705/9 "2019-11-16T16:44:11Z")

</div>

![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/9/29690711d8ec5cadf6fbd294648a90b64b64de7c.jpeg)

Hi…  
My room separation lines node seems not working.  
Appreciate if you could point out the missing part.  
Thank you in advance.

Rgds,  
Thet
