# Door-Walls Intersections

**URL:** <https://forum.dynamobim.com/t/door-walls-intersections/109089>\
**Category:** Revit\
**Tags:** dynamo, clashdetection\
**Created:** [March 26, 2025, 3:57pm UTC](https://forum.dynamobim.com/t/door-walls-intersections/109089 "2025-03-26T15:57:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaiGV878](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@shaiGV878](https://forum.dynamobim.com/u/shaiGV878)\
**Post date:** [March 26, 2025, 3:57pm UTC](https://forum.dynamobim.com/t/door-walls-intersections/109089/1 "2025-03-26T15:57:36Z")

</div>

I am running a clash detection between doors and walls. I noticed that in Revit, using the interference check, and in Dynamo, I get clashes between doors and the walls joined to the host or even the host itself. So, I am filtering out the host and joined walls from the results.  
**My question is** : I have two large lists, one with intersecting walls and one with the host and joined wall of each door, both of them are composed by 276 index. I want to check the list of intersecting walls and filter out the walls that are host or joined to the walls. So I am trying to check if there are equal elements inside each sublist. How can I do this? I tried using `==` or `String.Contains` with different levels and cross-product lacing, but I haven’t been able to get the correct result.

 ![clash](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/6/063676d3a56c4ff7bc8da53d3502bf47a919d699.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:** [March 26, 2025, 5:18pm UTC](https://forum.dynamobim.com/t/door-walls-intersections/109089/2 "2025-03-26T17:18:24Z")

</div>

Try `List.Contains` instead. You’re looking for weather each list of strings contains any of the filtered string Ids. You’re not actually comparing the strings themselves in that context.

---

<div class="post-metadata">

**Author:** ![shaiGV878](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@shaiGV878](https://forum.dynamobim.com/u/shaiGV878)\
**Post date:** [March 26, 2025, 5:39pm UTC](https://forum.dynamobim.com/t/door-walls-intersections/109089/3 "2025-03-26T17:39:57Z")

</div>

Thank you for the reply. I have to check the list1 despite the order and so I am trying to check with lacing-cross. I suppose that if I choose level 1 I can do the cross only inside each sub-list but I think I am wrong.. but it seems to me the only way to analyse each sublist individually.

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/3/d31d498826b64357178048fc793cad2b50a95742.jpeg)

---

<div class="post-metadata">

**Author:** ![shaiGV878](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@shaiGV878](https://forum.dynamobim.com/u/shaiGV878)\
**Post date:** [March 26, 2025, 5:45pm UTC](https://forum.dynamobim.com/t/door-walls-intersections/109089/4 "2025-03-26T17:45:28Z")

</div>

I expand what I wrote before. I cannot use the lacing longest. The result is not correct

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

---

<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:** [March 26, 2025, 6:00pm UTC](https://forum.dynamobim.com/t/door-walls-intersections/109089/5 "2025-03-26T18:00:45Z")

</div>

Maybe you could post an example to show the outcome you’re wanting. It’s a little unclear still what you’re expecting.

---

<div class="post-metadata">

**Author:** ![shaiGV878](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@shaiGV878](https://forum.dynamobim.com/u/shaiGV878)\
**Post date:** [March 26, 2025, 6:12pm UTC](https://forum.dynamobim.com/t/door-walls-intersections/109089/6 "2025-03-26T18:12:38Z")

</div>

Sorry, I used only a few indices to check in an easier way what I want to get but I post all the graph. I am trying to do a clash between doors and wall/ I get also the walls that are joined to the host and host themselves of the each door. So I need to filter the list of walls that intersect the doors, avoiding the walls that are host or joined with host. I have on the bottom the list of intersecting walls and on the top the host/joined walls. The two list have the same amount of indices (276) as I expect according to the number of doors. **I want to check the first index of the intersecting walls list with the first index of the host/joined walls list, the second index with the second index and so on. In that way if in the intersecting walls list I can filter all the host/joined wall of each door.** Because each sublist has more than one element I need to lace as cross product. Using levels I thought I think I can check only each index with the other. But using the cross product each index is check with all the other elements of the other list and in that way I cannot get a correct result.

 ![clash 2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/6/8664d5ce85ed2666172af5fc66fa241170574653.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:** [April 3, 2025, 3:27pm UTC](https://forum.dynamobim.com/t/door-walls-intersections/109089/7 "2025-04-03T15:27:01Z")

</div>

Is this what you’re after?

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