# List combine at same level

**URL:** <https://forum.dynamobim.com/t/list-combine-at-same-level/27026>\
**Category:** Uncategorized\
**Created:** [October 10, 2018, 8:09am UTC](https://forum.dynamobim.com/t/list-combine-at-same-level/27026 "2018-10-10T08:09:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jobiols](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jobiols](https://forum.dynamobim.com/u/jobiols)\
**Post date:** [October 10, 2018, 8:09am UTC](https://forum.dynamobim.com/t/list-combine-at-same-level/27026/1 "2018-10-10T08:09:41Z")

</div>

I all,

I’m trying to combine lists but the final result is the one shown in figure 1 and what i idealy would like to get is the shown in figure two.  
I have achieved the result I want with dividing the list, doing some flatten and combining lists again.  
My question is if there is a direct node for going from 1 to 2 directly, as in further runs the first configuration list can change so what i have done may not be working.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/4/94ee0d5ff78ae4915446edfa7ca5d754f814c88d.png)

---

<div class="post-metadata">

**Author:** ![kennyb6](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kennyb6](https://forum.dynamobim.com/u/kennyb6)\
**Post date:** [October 10, 2018, 8:13am UTC](https://forum.dynamobim.com/t/list-combine-at-same-level/27026/2 "2018-10-10T08:13:17Z")

</div>

How do you want to go from 10 items to 4?

---

<div class="post-metadata">

**Author:** ![jobiols](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jobiols](https://forum.dynamobim.com/u/jobiols)\
**Post date:** [October 10, 2018, 8:16am UTC](https://forum.dynamobim.com/t/list-combine-at-same-level/27026/3 "2018-10-10T08:16:39Z")

</div>

you are right sorry I did not capture the right result,

but my question was about taking those 10 elements in list 1 and transforming them in a list like seen in image 2 (all 10 elements at @L3 and 0 List).  
I don’t want to change the number of elements.

---

<div class="post-metadata">

**Author:** ![kennyb6](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kennyb6](https://forum.dynamobim.com/u/kennyb6)\
**Post date:** [October 10, 2018, 8:20am UTC](https://forum.dynamobim.com/t/list-combine-at-same-level/27026/4 "2018-10-10T08:20:16Z")

</div>

Ah okay. Try this:  
 ![flattenlistlevel](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/9/09fa564127487c8848591f40dc6ba47c7f33f374.png)

Play with list levels and a flatten node.

For yours, you probably only need list @L4

---

<div class="post-metadata">

**Author:** ![jobiols](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jobiols](https://forum.dynamobim.com/u/jobiols)\
**Post date:** [October 10, 2018, 9:26am UTC](https://forum.dynamobim.com/t/list-combine-at-same-level/27026/5 "2018-10-10T09:26:42Z")

</div>

It took me some time to investigate exactly how are levels working but it works, thanks!

---

<div class="post-metadata">

**Author:** ![Jonathan.Olesen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan.olesen/32/44242_2.png) [@Jonathan.Olesen](https://forum.dynamobim.com/u/Jonathan.Olesen)\
**Post date:** [October 10, 2018, 9:29am UTC](https://forum.dynamobim.com/t/list-combine-at-same-level/27026/6 "2018-10-10T09:29:10Z")

</div>

For future reference have a look at this link:  
[http://dynamobim.org/introducing-listlevel-working-with-lists-made-easier/](http://dynamobim.org/introducing-listlevel-working-with-lists-made-easier/)

---

<div class="post-metadata">

**Author:** ![jobiols](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jobiols](https://forum.dynamobim.com/u/jobiols)\
**Post date:** [October 10, 2018, 9:31am UTC](https://forum.dynamobim.com/t/list-combine-at-same-level/27026/7 "2018-10-10T09:31:01Z")

</div>

Haha, that’s exactly the post I’ve been reading for understanding.

Thanks!
