# Divide Floors in Parts

**URL:** <https://forum.dynamobim.com/t/divide-floors-in-parts/38381>\
**Category:** Revit\
**Tags:** python\
**Created:** [July 17, 2019, 9:02am UTC](https://forum.dynamobim.com/t/divide-floors-in-parts/38381 "2019-07-17T09:02:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [December 16, 2019, 10:43am UTC](https://forum.dynamobim.com/t/divide-floors-in-parts/38381/5 "2019-12-16T10:43:43Z")

</div>

Thanks for your reply!! I am trying to divide floor parts for multiple floors, so I try to change the other script that works for lists but failed. Therefore, I come across your post and try a simple script that only contains one curve but also failed. I have no idea what I do wrong. Here is my simple one:

 ![Home_2019-12-16_06-40-34](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/9/393b16ed8b5c260c376d71a9b4ee4ec5b485bdc9.png)  
 ![2019-12-16_18-41-03](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/0/70d70ff31ae76a007e3108ce812f13b6a261639a.jpeg)

and here is the one that I am working on:

 ![test2-3_2019-12-16_06-45-24](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/e/9ef74ef010e6c22b3679b4bc76dcf315ccb8834c.png)

I am trying to divide floors into parts by using wall location lines, and the script I only change [Dividing parts with dynamo](https://forum.dynamobim.com/t/dividing-parts-with-dynamo/5388) wall reference into floor and it does not work…

Thanks for taking time to read my post, I am struggling for days already.

---

_[View the full topic](https://forum.dynamobim.com/t/divide-floors-in-parts/38381)._
