# How to combine nested lists

**URL:** <https://forum.dynamobim.com/t/how-to-combine-nested-lists/58614>\
**Category:** Lists-Logic\
**Tags:** dynamo\
**Created:** [December 22, 2020, 3:11pm UTC](https://forum.dynamobim.com/t/how-to-combine-nested-lists/58614 "2020-12-22T15:11:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [December 22, 2020, 3:11pm UTC](https://forum.dynamobim.com/t/how-to-combine-nested-lists/58614/1 "2020-12-22T15:11:11Z")

</div>

Hello everyone i have two lists which i need to attach back together, however when i try to do this all my lists get split up, how can i combine them back together such that the list level is as follows:

```
0 - 
 0 -
  2 items
 1 - 
  2 items
(etc)

1 - 
 0 -
  2 items

```

Instead of 1 item per list even though their list levels match:

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

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [December 22, 2020, 3:43pm UTC](https://forum.dynamobim.com/t/how-to-combine-nested-lists/58614/2 "2020-12-22T15:43:00Z")

</div>

what about flatten?

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [December 22, 2020, 5:25pm UTC](https://forum.dynamobim.com/t/how-to-combine-nested-lists/58614/3 "2020-12-22T17:25:38Z")

</div>

> [@Daan](#):
>
> i have two lists which i need to attach back together,

 ![transpose](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/8/2824d95a4544acd0232ab8d1448779edacb34a54.png)

---

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [December 22, 2020, 7:42pm UTC](https://forum.dynamobim.com/t/how-to-combine-nested-lists/58614/4 "2020-12-22T19:42:58Z")

</div>

Awesome @Vikram_Subbaiah,

Thank you very much for your solution !
