# Removing the span direction after floor by room boundary (span direction causing havoc in groups)

**URL:** <https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130>\
**Category:** Revit\
**Created:** [October 17, 2022, 9:52am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130 "2022-10-17T09:52:48Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![BJozi](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@BJozi](https://forum.dynamobim.com/u/BJozi)\
**Post date:** [October 17, 2022, 9:52am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/1 "2022-10-17T09:52:48Z")

</div>

I recently made a graph to create floors by room boundary, mainly used for floor finishes. As we have a lot of duplication in our models we make a lot of us of groups.

The floor sketch created using the graph places a line as span direction which is causing all the groups to explode, removing the span direction from the floor resolves the issue.

I’m trying to find a way to either not create the floor with span direction line or to remove it after making the floor, I’m not finding much for either method and hope someone can help?

Edit to add the script (now that I can upload files)  
[Create floor by room boundary.dyn](https://forum.dynamobim.com/uploads/short-url/ebhsrXob9B6qvz9r4gWmt7pCnXC.dyn) (130.0 KB)

---

<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:** [October 17, 2022, 10:07am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/2 "2022-10-17T10:07:31Z")

</div>

@BJozi ,

Create your floors (slabs) as “not LoadBearing” ! than you get no symbole 🙂

a modelrule (should be) finished floor is not LoadBearing…

---

<div class="post-metadata">

**Author:** ![BJozi](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@BJozi](https://forum.dynamobim.com/u/BJozi)\
**Post date:** [October 17, 2022, 10:16am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/3 "2022-10-17T10:16:33Z")

</div>

Where is the option to do in the nodes? I’m using Floor.ByCurveLoops (Rhythm) node, is there a different node with the option to make them non-loadbearing? The created floors are not “Structural” when made with my graph.

---

<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:** [October 17, 2022, 10:52am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/4 "2022-10-17T10:52:51Z")

</div>

@BJozi ,

in your node should be something like this…  
 ![grafik](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/9/696c4937bf43a11451b5ed30c65fc628ecc2f394.png)

---

<div class="post-metadata">

**Author:** ![BJozi](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@BJozi](https://forum.dynamobim.com/u/BJozi)\
**Post date:** [October 17, 2022, 11:31am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/5 "2022-10-17T11:31:33Z")

</div>

What package is that node from? I don’t see it in Dynamo 2.12.

Is outline input is curves of the room boundary? (And it makes donut floors also?)

---

<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:** [October 17, 2022, 11:33am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/6 "2022-10-17T11:33:26Z")

</div>

@BJozi ,

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

---

<div class="post-metadata">

**Author:** ![BJozi](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@BJozi](https://forum.dynamobim.com/u/BJozi)\
**Post date:** [October 17, 2022, 11:35am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/7 "2022-10-17T11:35:07Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/e/2eefe7257fe220fdc4a5836add9509e65f8f3b5d.png)  
I get a different result (Dynamo 2.12 R2022) 🤔

---

<div class="post-metadata">

**Author:** ![Garbage\_Collector](https://avatars.discourse-cdn.com/v4/letter/g/da6949/32.png) [@Garbage\_Collector](https://forum.dynamobim.com/u/Garbage_Collector)\
**Post date:** [October 17, 2022, 12:10pm UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/8 "2022-10-17T12:10:52Z")

</div>

You are missing an f at the end it seems

---

<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:** [October 17, 2022, 12:10pm UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/9 "2022-10-17T12:10:59Z")

</div>

@BJozi ,

switch to python

> [@Python floor.create() with revit api 2022](https://forum.dynamobim.com/t/python-floor-create-with-revit-api-2022/70113):
>
> Hi All, i’m trying to create a floor within my python script using: Floor.Create(doc,CurveArray, ‘Placa Maciza E=15cm’, level,True,0,0) Can someone tell me the new process for use correct, new commmands FLOOR.CREATE with new revit api 2022. this the code: #importar revit api import clr clr.AddReference(‘ProtoGeometry’) from Autodesk.DesignScript.Geometry import \* from math import \* import clr clr.AddReference(“RevitNodes”) import Revit clr.ImportExtensions(Revit.Elements) clr.AddRe…

---

<div class="post-metadata">

**Author:** ![BJozi](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@BJozi](https://forum.dynamobim.com/u/BJozi)\
**Post date:** [October 17, 2022, 1:28pm UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/10 "2022-10-17T13:28:29Z")

</div>

With an F included I get no results. Is it a different Dynamo version or a node from a package? Also notice his says Autodesk2022 while mine does not?  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/8/d87bd6730396b6863c9a4f47d281d49ef5139365.png)

@Draxl_Andreas I can have a look at that link but I was hoping to avoid Python as I don’t my way about it.

Edit to add:  
The crumple package also doesn’t have the structural floor option  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/5/15035d44866e3b31007ce3f7f5f0db27dbd188c0.png)

---

<div class="post-metadata">

**Author:** ![ahmadkhalaf7892](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ahmadkhalaf7892/32/131910_2.png) [@ahmadkhalaf7892](https://forum.dynamobim.com/u/ahmadkhalaf7892)\
**Post date:** [October 17, 2022, 2:49pm UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/11 "2022-10-17T14:49:39Z")

</div>

Try Installing Civil connection package for the node.  
However this node only works if the floor is sloped.  
You can also work with Clockwork package .  
Check this post it might help.

> [@Sloped Floor Gone Wrong (Floor.SlabShapeByPoints)](https://forum.dynamobim.com/t/sloped-floor-gone-wrong-floor-slabshapebypoints/80239/2):
>
> I have noticed that there are some people who had some problems drawing slopped floor from excel, this script would help to draw sloped floors based on points , , the points are extracted from excel , the points are Coordinated as XYZ Points or ENZ ,and the points are coordinates for lines from AutoCAD you need to have several packages installed, Archilab, Datashapes,Clockwork. Civil Infra Benelux (CIB) The points are first connected as lines , then a rectangle is drawn in 2D and in 3D, the …

---

<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:** [October 17, 2022, 3:13pm UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/12 "2022-10-17T15:13:09Z")

</div>

@BJozi ,

you modify the package  
 ![grafik](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/d/dd50be29c50fc4403fe25d8e535911a843028074.png)

 ![2022-10-17_17h19_14](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/f/afbf83ee240997e953700f4d4ac9db67cc0433ae.png)  
 ![2022-10-17_17h19_25](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/5/3524d3236d53a554401b66fefb7f799cd3fb1ee8.png)

its still not working, but something like that 😉

---

<div class="post-metadata">

**Author:** ![BJozi](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@BJozi](https://forum.dynamobim.com/u/BJozi)\
**Post date:** [October 18, 2022, 7:40am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/13 "2022-10-18T07:40:55Z")

</div>

You lost me at modify package, I have copied your example but as you say it still doesn’t work.

@ahmadkhalaf7892 Thanks, I got the node however I now have a problem with the curves in put which I’m not sure to get around

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

---

<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:** [October 18, 2022, 7:44am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/14 "2022-10-18T07:44:12Z")

</div>

@BJozi ,

flatten your input by outline…

if not make a polycurve(join) _→ flatten → first/rest Item(s) → polycurve(join) → input_

---

<div class="post-metadata">

**Author:** ![ahmadkhalaf7892](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ahmadkhalaf7892/32/131910_2.png) [@ahmadkhalaf7892](https://forum.dynamobim.com/u/ahmadkhalaf7892)\
**Post date:** [October 18, 2022, 7:51am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/15 "2022-10-18T07:51:25Z")

</div>

if you are aiming to create a sloped floor try using this node from clockwork package  
 ![Clockwork](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/f/bfdbd0106d28dae6cd0f1c84e739b95fdb8b28e0.png)  
it can also help, however using this approach you have to create the floor first in 2D then you need to get the points(profile of the floor) and add them to this node.  
in your script above I believe you are adding wrong inputs to the node.

---

<div class="post-metadata">

**Author:** ![BJozi](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@BJozi](https://forum.dynamobim.com/u/BJozi)\
**Post date:** [October 18, 2022, 7:59am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/16 "2022-10-18T07:59:22Z")

</div>

I’m either not following or understanding the differences btween the various nodes and what thy are expecting as input (or how to get the correct data to the input)

I’ve added the script here, it uses DataShapes and everything works except that it adds a line for the span direction, which when the floor is added to a group makes the group explode.

[Create floor by room boundary.dyn](https://forum.dynamobim.com/uploads/short-url/ebhsrXob9B6qvz9r4gWmt7pCnXC.dyn) (130.0 KB)

---

<div class="post-metadata">

**Author:** ![ahmadkhalaf7892](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ahmadkhalaf7892/32/131910_2.png) [@ahmadkhalaf7892](https://forum.dynamobim.com/u/ahmadkhalaf7892)\
**Post date:** [October 18, 2022, 9:43am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/17 "2022-10-18T09:43:30Z")

</div>

Can you please send me the Revit File you are also currently working on , Maybe I can know what’s the problem

---

<div class="post-metadata">

**Author:** ![BJozi](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@BJozi](https://forum.dynamobim.com/u/BJozi)\
**Post date:** [October 18, 2022, 10:02am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/18 "2022-10-18T10:02:35Z")

</div>

I can’t share my current project so I’ve made a small test project. In it there are two groups with walls and a floor.

The floor was created using the script I shared earlier. When you add the floor to one of the groups it will break the group which has to do with the span direction line. With the span direction line removed there are no problems.

[Test project.rvt](https://forum.dynamobim.com/uploads/short-url/693BCqEwYfb9p5quW8Utaa76itk.rvt) (1.7 MB)

---

<div class="post-metadata">

**Author:** ![ahmadkhalaf7892](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ahmadkhalaf7892/32/131910_2.png) [@ahmadkhalaf7892](https://forum.dynamobim.com/u/ahmadkhalaf7892)\
**Post date:** [October 18, 2022, 10:08am UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/19 "2022-10-18T10:08:46Z")

</div>

Hi BJozi , My Revit is 2021 do you believe you can create the same model in 2021 ?

---

<div class="post-metadata">

**Author:** ![BJozi](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@BJozi](https://forum.dynamobim.com/u/BJozi)\
**Post date:** [October 18, 2022, 12:09pm UTC](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130/20 "2022-10-18T12:09:32Z")

</div>

It’s just a few walls grouped together and then copied. Interestingly, I can’t get the script to work in R2021 but adding a floor which has a span line (instead of using the sketch line) to the group breaks things as well. If I can avoid the line for span all would be fine

[Test project.rvt](https://forum.dynamobim.com/uploads/short-url/aYxroTYaQYQUv3xZk0jyB5dJsdA.rvt) (1.7 MB)

[Next page](https://forum.dynamobim.com/t/removing-the-span-direction-after-floor-by-room-boundary-span-direction-causing-havoc-in-groups/82130.md?page=2)
