# Create walls by curve and levels

**URL:** https://forum.dynamobim.com/t/create-walls-by-curve-and-levels/81432
**Category:** Revit
**Tags:** dynamo
**Created:** [September 24, 2022, 9:37pm UTC](https://forum.dynamobim.com/t/create-walls-by-curve-and-levels/81432 "2022-09-24T21:37:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)
#### Post date: [September 24, 2022, 9:37pm UTC](https://forum.dynamobim.com/t/create-walls-by-curve-and-levels/81432/1 "2022-09-24T21:37:12Z")

</div>

Hey everyone,

I’m trying to make a wall between all my levels in my model. I have 2 different blocks with different amount of levels. How can I make it so that the List Levels align that they automatically stop generating walls beyond the block height?

For floors I did something similar succesfully, but I used a Element copy after creating only the top floors. and then filtering the levels below them.

So basically I have 2x2 lists  
block A - 4 curves per level  
block B - 4 curves per level

levels 1 to 30 for Block A  
levels 1 to 5 for block B

Any help would be greatly appreciated.  
 ![Mass omzetten_5_facade walls_2_2022-09-24_11-23-33](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/1/31f627001a947f5188e216fe03284afd7310cc47.png)

---

<div class="post-metadata">

### Author: ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)
#### Post date: [September 26, 2022, 5:47pm UTC](https://forum.dynamobim.com/t/create-walls-by-curve-and-levels/81432/2 "2022-09-26T17:47:31Z")

</div>

Hello,

here is a potential solution

 ![25 septembre forum anglais_2022-09-26_07-41-43](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/6/c6b53843781a0735ec95ad3abebaf140bc019dac.png)

script:  
[25 septembre forum anglais.dyn](https://forum.dynamobim.com/uploads/short-url/wDpEIEN8EEuyBGreRQtT9uBnuO.dyn) (229.4 KB)

Cordially  
christian.stan

---

<div class="post-metadata">

### Author: ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)
#### Post date: [September 27, 2022, 8:54am UTC](https://forum.dynamobim.com/t/create-walls-by-curve-and-levels/81432/3 "2022-09-27T08:54:51Z")

</div>

There are some great nodes in that script for sure. But what if I have 3 blocks? Anyway I gave up with the levels and managed to fix it with just creating the walls by height, then element copy, then setting all walls to the next level. 😬  
Not my favorite solution, but it was effective.
