# Divide floors and beams into parts

**URL:** <https://forum.dynamobim.com/t/divide-floors-and-beams-into-parts/43625>\
**Category:** DesignScript\
**Tags:** dynamo\
**Created:** [November 26, 2019, 9:04am UTC](https://forum.dynamobim.com/t/divide-floors-and-beams-into-parts/43625 "2019-11-26T09:04:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chunchien](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@chunchien](https://forum.dynamobim.com/u/chunchien)\
**Post date:** [November 26, 2019, 9:04am UTC](https://forum.dynamobim.com/t/divide-floors-and-beams-into-parts/43625/1 "2019-11-26T09:04:13Z")

</div>

Hello, Dear all:  
I am working on splitting all walls, beams, and floors in my project. Here is my approach so far

 ![2019-11-26_16-59-20](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/1/e1bbdb2496a2fdae6f0bbae391ef4ca5ca1493be.jpeg)  
 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/4/04ef370514c966ecc225540cf74e4984c1cd18a9.png)  
I have read this very helpful post[Dividing parts with dynamo](https://forum.dynamobim.com/t/dividing-parts-with-dynamo/5388) and completed dividing wall just fine. However, when I try to change the code to “beam” and “floor”(I only change “wall” to “beam” and “floor”), it did not work at all. With my almost to none python knowledge, I can’t figure it out.  
 ![2019-11-26_17-07-56](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7efc0b33aa317dcecc147788e107e41075555021.jpeg)  
 ![2019-11-26_17-09-07](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/6/665be1f2e48d1772b3e5ba32980ea21c4f3760d8.jpeg)  
Thanks for all the help…  
p.s. all the freeze nodes is the one I complete.
