# Way to call sublists from a list based on the number of items in a list?

**URL:** <https://forum.dynamobim.com/t/way-to-call-sublists-from-a-list-based-on-the-number-of-items-in-a-list/3602>\
**Category:** Packages\
**Created:** [April 1, 2016, 8:32am UTC](https://forum.dynamobim.com/t/way-to-call-sublists-from-a-list-based-on-the-number-of-items-in-a-list/3602 "2016-04-01T08:32:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jessica\_Duke](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@Jessica\_Duke](https://forum.dynamobim.com/u/Jessica_Duke)\
**Post date:** [April 1, 2016, 8:32am UTC](https://forum.dynamobim.com/t/way-to-call-sublists-from-a-list-based-on-the-number-of-items-in-a-list/3602/1 "2016-04-01T08:32:20Z")

</div>

Hello, I’m trying to parameterize the floor framing for a building with an atrium, but am having trouble removing the members that cut through the atrium. Right now, I am using slice to split curves where the atrium is located. In a list with all the beams, sublists containing 3 items cut through the atrium. I would list to call only the sublists that contain three items. Is this possible?

---

<div class="post-metadata">

**Author:** ![Gui\_Talarico](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gui_talarico/32/10887_2.png) [@Gui\_Talarico](https://forum.dynamobim.com/u/Gui_Talarico)\
**Post date:** [April 1, 2016, 9:42am UTC](https://forum.dynamobim.com/t/way-to-call-sublists-from-a-list-based-on-the-number-of-items-in-a-list/3602/2 "2016-04-01T09:42:55Z")

</div>

Can you post a screenshot?

You could you **Count** each sublist with **List.Map** , check if **==** to 3, and then select only those sublists

---

<div class="post-metadata">

**Author:** ![Steven](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/steven/32/112504_2.png) [@Steven](https://forum.dynamobim.com/u/Steven)\
**Post date:** [April 1, 2016, 6:24pm UTC](https://forum.dynamobim.com/t/way-to-call-sublists-from-a-list-based-on-the-number-of-items-in-a-list/3602/3 "2016-04-01T18:24:06Z")

</div>

What Gui said

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/6/672d3b4ae0e3cf71c5097d920fdd0f42bf6f3d40.png)
