# Room Separation Lines not Aligned to View Level

**URL:** <https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477>\
**Category:** Revit\
**Created:** [September 25, 2025, 12:39pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477 "2025-09-25T12:39:46Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![zakim](https://avatars.discourse-cdn.com/v4/letter/z/e47774/32.png) [@zakim](https://forum.dynamobim.com/u/zakim)\
**Post date:** [September 25, 2025, 12:39pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/1 "2025-09-25T12:39:46Z")

</div>

Hello,

I searched the forum topics but could not find a solution so I hope anyone can help.

I am using #clockwork to add room separation lines but it does not seem to add the lines to the correct level. See attached captures.

Is there a way to fix this either by hosting the “ModelCurves” to the correct level or moving the “ModelCurve” to the correct elevation?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/9/c950b4d59bb56009d14564072ab671384c2e9b09.jpeg)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/7/67516d352324de2bb82ae94669688ee50963583f.png)

Thanks

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [September 25, 2025, 12:54pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/2 "2025-09-25T12:54:37Z")

</div>

I have a few questions though;

- Do you get the Curves from Rooms or some other Elements?
- Where do you want the Curves for the Elements on the First Floor?

---

<div class="post-metadata">

**Author:** ![zakim](https://avatars.discourse-cdn.com/v4/letter/z/e47774/32.png) [@zakim](https://forum.dynamobim.com/u/zakim)\
**Post date:** [September 25, 2025, 1:32pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/3 "2025-09-25T13:32:14Z")

</div>

Hello @bvs1982 .

1. I get the curves using node “Room.FinishBoundary” of a room placed on the Second Floor.

2. I want the curve elements to be on the Second Floor.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/7/97768db8adc622eea31e18a9c04a6b6f9c5f4acf.png)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [September 25, 2025, 2:20pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/4 "2025-09-25T14:20:23Z")

</div>

Hi @zakim try translate your curves to elevation heigh

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [September 25, 2025, 2:26pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/5 "2025-09-25T14:26:51Z")

</div>

You should just need to change the elevation of the Dynamo curves before creating the separation curves in Revit. You can do something like a `PullOntoPlane` with the level.

Are the boundary curves you get from the room located at the second floor level, or do they show up on the first floor as well? You may just have a room hosted to the wrong level or with some kind of offset that’s placing the boundary curves below where you think it is.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [September 25, 2025, 2:38pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/6 "2025-09-25T14:38:37Z")

</div>

hi have just tried it seems it is the viewplane node inside the node there gives trouble, try open and then use views level instead and get the plane from there and pull onto plane node…it seems work for me

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [September 25, 2025, 2:48pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/7 "2025-09-25T14:48:09Z")

</div>

> [@Nick\_Boyts](#):
>
> Are the boundary curves you get from the room located at the second floor level, or do they show up on the first floor as well?

This is why asked my second question 😅.

---

<div class="post-metadata">

**Author:** ![Mike.Buttery](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mike.Buttery](https://forum.dynamobim.com/u/Mike.Buttery)\
**Post date:** [September 25, 2025, 2:55pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/8 "2025-09-25T14:55:30Z")

</div>

The clockwork node uses the origin of the view to create the sketch plane, this does not always relate to the level.

You could take the curves and pull them onto the level plane - use the Clockwork _Level.Plane_ and _Curve.PullOntoPlane_ (Edit - That would be in Dynamo, not Revit 🤦)

You could set the origin of the view to the level

---

<div class="post-metadata">

**Author:** ![zakim](https://avatars.discourse-cdn.com/v4/letter/z/e47774/32.png) [@zakim](https://forum.dynamobim.com/u/zakim)\
**Post date:** [September 25, 2025, 2:59pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/9 "2025-09-25T14:59:29Z")

</div>

Hello @Nick_Boyts and @sovitek . The boundary are for a room on the Second Floor. In other words, any of the Rooms hosted on the upper floors their newly created separated lines are always hosted on the bottom level (i.e. First Floor).

I also tried PullOntoPlane but it is not working.

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

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/8/786dd30f8ba7787611cff3ca94d32db01eab7765.png)

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [September 25, 2025, 3:03pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/10 "2025-09-25T15:03:02Z")

</div>

I think it also good to keep your List Levels  
in mind. By the looks of it you gotten ALL  
your Rooms but flattened your List with all the Curves. But i guess that is a different topic 😅.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [September 25, 2025, 3:06pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/11 "2025-09-25T15:06:13Z")

</div>

try as here and see if it could work,  
 ![Revit_mQ8KIOXmWE](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/c/acae60fe8511acb5101ab9bca638cad196f04712.gif)  
[Home.dyn](https://forum.dynamobim.com/uploads/short-url/jczU8k8XRsrvViOgmihuoLA7put.dyn) (16.0 KB)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [September 25, 2025, 3:11pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/12 "2025-09-25T15:11:57Z")

</div>

> [@Mike.Buttery](#):
>
> The clockwork node uses the origin of the view to create the sketch plane, this does not always relate to the level

Looks like @Mike.Buttery answered your question here. You’d have to use a new node or create your own solution in Python, like @sovitek has shown above.

---

<div class="post-metadata">

**Author:** ![Mike.Buttery](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mike.Buttery](https://forum.dynamobim.com/u/Mike.Buttery)\
**Post date:** [September 25, 2025, 3:16pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/13 "2025-09-25T15:16:38Z")

</div>

Here is a modification to the Clockwork python code which uses the Level Id instead of a view origin to create the plane  
Edit: Details 👉 [here](https://apidocs.co/apps/revit/2025.3/c121b511-bd4f-0c5a-12cb-41170cd06761.htm)

```python
import clr

clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import *

clr.AddReference("RevitNodes")
import Revit

clr.ImportExtensions(Revit.GeometryConversion)

clr.AddReference("RevitServices")
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager

doc = DocumentManager.Instance.CurrentDBDocument
curves = UnwrapElement(IN[0])
view = UnwrapElement(IN[1])

TransactionManager.Instance.EnsureInTransaction(doc)

if view.LevelId:
    sketchplane = SketchPlane.Create(doc, view.LevelId)
    curvearray = CurveArray()
    for curve in curves:
        curvearray.Append(curve.ToRevitType())
    doccreation = doc.Create
    separatorarray = doccreation.NewRoomBoundaryLines(sketchplane, curvearray, view)
else:
    separatorarray = []
TransactionManager.Instance.TransactionTaskDone()

elementlist = list()
for item in separatorarray:
    elementlist.append(item)
if isinstance(IN[0], list):
    OUT = elementlist
else:
    OUT = elementlist[0]

```

---

<div class="post-metadata">

**Author:** ![zakim](https://avatars.discourse-cdn.com/v4/letter/z/e47774/32.png) [@zakim](https://forum.dynamobim.com/u/zakim)\
**Post date:** [September 25, 2025, 3:52pm UTC](https://forum.dynamobim.com/t/room-separation-lines-not-aligned-to-view-level/112477/14 "2025-09-25T15:52:40Z")

</div>

Thank you @sovitek for sharing this sample file and solution. I tried it and it works really well. Thank you (and @Mike.Buttery , @bvs1982 , and @Mike.Buttery ) for your valuable support.

I just wish if there was a dimple Dynamo OTB node to solve this issue. It seems strange that my full dynamo project works well. But one would expect Dynamo communicate better with Revit levels as normal view/plane definition.

I am also not well versed in Python… something I should explore to learn.

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