# Flatten lists of lists @2nd level

**URL:** <https://forum.dynamobim.com/t/flatten-lists-of-lists-2nd-level/73222>\
**Category:** Lists-Logic\
**Created:** [February 10, 2022, 4:07pm UTC](https://forum.dynamobim.com/t/flatten-lists-of-lists-2nd-level/73222 "2022-02-10T16:07:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![l.dorrestijn](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@l.dorrestijn](https://forum.dynamobim.com/u/l.dorrestijn)\
**Post date:** [February 10, 2022, 4:07pm UTC](https://forum.dynamobim.com/t/flatten-lists-of-lists-2nd-level/73222/1 "2022-02-10T16:07:20Z")

</div>

can anyone help me solve this problem? i want to join the lists @2nd level.  
i have for example 50 lists with 10 to 15 sublists, and i would like this to be 50 lists without sublists

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

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [February 10, 2022, 4:10pm UTC](https://forum.dynamobim.com/t/flatten-lists-of-lists-2nd-level/73222/2 "2022-02-10T16:10:00Z")

</div>

If I understand correctly then you’d want to flatten @L3. EDIT: If I understood incorrectly then you’d want to listen to @khuzaimah.ElecEng.

If the lists are at L2 then they’d be grouped under L3. So you’d want to combine all the L2 lists in L3. This would retain the structure you already have at L3 and up but combine everything underneath it.

---

<div class="post-metadata">

**Author:** ![khuzaimah.ElecEng](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/khuzaimah.eleceng/32/92768_2.png) [@khuzaimah.ElecEng](https://forum.dynamobim.com/u/khuzaimah.ElecEng)\
**Post date:** [February 10, 2022, 4:10pm UTC](https://forum.dynamobim.com/t/flatten-lists-of-lists-2nd-level/73222/3 "2022-02-10T16:10:09Z")

</div>

hi  
use flatten node with "amt " value of “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:** [February 11, 2022, 3:01pm UTC](https://forum.dynamobim.com/t/flatten-lists-of-lists-2nd-level/73222/4 "2022-02-11T15:01:06Z")

</div>

Hi @l.dorrestijn ,

Try the node **List.NormalizeDepth** with a 2 as rank input.  
This node works as the list.flatten node, but from the right side 😃
