# Index is outside the given range

**URL:** <https://forum.dynamobim.com/t/index-is-outside-the-given-range/15130>\
**Category:** Lists-Logic\
**Tags:** designscript, dynamo\
**Created:** [September 26, 2017, 6:19pm UTC](https://forum.dynamobim.com/t/index-is-outside-the-given-range/15130 "2017-09-26T18:19:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [September 26, 2017, 6:54pm UTC](https://forum.dynamobim.com/t/index-is-outside-the-given-range/15130/4 "2017-09-26T18:54:18Z")

</div>

Yup. The issue is because FilterByBoolMask returns something like a dictionary - it’s not a list of values but a set of lists. Can’t remember if there’s a way to separate the values when using code blocks, but there was a similar thread on the forums a while ago. I’ll see if I can find it.

Here we go: [Filter by Bool Mask](https://forum.dynamobim.com/t/filter-by-bool-mask/447)

---

_[View the full topic](https://forum.dynamobim.com/t/index-is-outside-the-given-range/15130)._
