# Drop sublists with a False value in index '1'

**URL:** <https://forum.dynamobim.com/t/drop-sublists-with-a-false-value-in-index-1/60377>\
**Category:** Lists-Logic\
**Created:** [February 11, 2021, 8:37pm UTC](https://forum.dynamobim.com/t/drop-sublists-with-a-false-value-in-index-1/60377 "2021-02-11T20:37:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jameshitt](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@jameshitt](https://forum.dynamobim.com/u/jameshitt)\
**Post date:** [February 11, 2021, 8:37pm UTC](https://forum.dynamobim.com/t/drop-sublists-with-a-false-value-in-index-1/60377/1 "2021-02-11T20:37:52Z")

</div>

I have a lists of Sublists, and I would like to completely drop any Sublist with a value of “false” in the ‘1’ index.  
Is there a node that will accomplish this, or will I have to approach this a bit differently?

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/6/960f784ee27a265cb139dee2e746da1d99186a65.jpeg)

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [February 11, 2021, 9:17pm UTC](https://forum.dynamobim.com/t/drop-sublists-with-a-false-value-in-index-1/60377/3 "2021-02-11T21:17:04Z")

</div>

@jameshitt something like this?

 ![ListRemove](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/8/68ece9b50ee5ac1ab619ebd2d85310309aaf82fe.png)

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [February 11, 2021, 9:30pm UTC](https://forum.dynamobim.com/t/drop-sublists-with-a-false-value-in-index-1/60377/4 "2021-02-11T21:30:17Z")

</div>

@jameshitt

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/a/fa42d50b0d34f883edefd5cdb76c5004b19a69e1.png)

---

<div class="post-metadata">

**Author:** ![jameshitt](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@jameshitt](https://forum.dynamobim.com/u/jameshitt)\
**Post date:** [February 11, 2021, 9:31pm UTC](https://forum.dynamobim.com/t/drop-sublists-with-a-false-value-in-index-1/60377/5 "2021-02-11T21:31:40Z")

</div>

Thank you very much!  
List.FilterByBoolMask would have just went right over my head.  
List.Contains was actually not necessary because I had a list of the Booleans in a previous step; but the node, plus the “Levels” toggle was something I completely forgot about in all the tutorials I watched. I will make sure to remember that feature.

---

<div class="post-metadata">

**Author:** ![jameshitt](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@jameshitt](https://forum.dynamobim.com/u/jameshitt)\
**Post date:** [February 11, 2021, 9:32pm UTC](https://forum.dynamobim.com/t/drop-sublists-with-a-false-value-in-index-1/60377/6 "2021-02-11T21:32:59Z")

</div>

Thank you! Another method for isolating sublist parts based on index. I won’t forget it!
