# Filtering intersecting solids

**URL:** <https://forum.dynamobim.com/t/filtering-intersecting-solids/75026>\
**Category:** Lists-Logic\
**Created:** [March 31, 2022, 1:53pm UTC](https://forum.dynamobim.com/t/filtering-intersecting-solids/75026 "2022-03-31T13:53:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![k.honda](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/k.honda/32/135101_2.png) [@k.honda](https://forum.dynamobim.com/u/k.honda)\
**Post date:** [March 31, 2022, 1:53pm UTC](https://forum.dynamobim.com/t/filtering-intersecting-solids/75026/1 "2022-03-31T13:53:45Z")

</div>

Hello guys!

it’s my first post here in the forum, so if I did the post wrong my apologies.  
I developed a dynamo that indentifies if a solid intersects the other,  
first I select all the families and then all the other families that I want to check if they intersects, however I’m facing troubles when there is more than 1 solid, it needs to associate the solids that intersects the other and join both, I don’t know how to filter just the two solids that are intersecting in the list ☹

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/4/6421e05bb964549be798905893571af97dd9d01c.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:** [March 31, 2022, 2:50pm UTC](https://forum.dynamobim.com/t/filtering-intersecting-solids/75026/2 "2022-03-31T14:50:57Z")

</div>

Hi @k.honda ,

Looking at the setup you have now you would want to change the inputs around of the **Geometry.DoesIntersect** node, since you want to get 8 results per Solid.

As option A: I would suggest flattening both your **Element.Geometry** nodes output, to keep the nodes later on more manageable.

As option B: Then I would suggest replacing your **List.Flatten** node with a **List.NormalizeDepth** node with a depth of 2.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/1/11b4363a0a7feb0f08395c3806128aa3ff5ffc5f.png)

PS: I don’t know which list levels/ lacing you might need from the top of my head, if you still aren’t able to figure it out, please upload some sample files (Dynamo/ Host if applicable).

---

<div class="post-metadata">

**Author:** ![k.honda](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/k.honda/32/135101_2.png) [@k.honda](https://forum.dynamobim.com/u/k.honda)\
**Post date:** [April 6, 2022, 12:59am UTC](https://forum.dynamobim.com/t/filtering-intersecting-solids/75026/3 "2022-04-06T00:59:31Z")

</div>

Thank you very much! It worked
