# Geometry.DoesIntersect doesn't sense the Intersection

**URL:** <https://forum.dynamobim.com/t/geometry-doesintersect-doesnt-sense-the-intersection/93795>\
**Category:** Revit\
**Tags:** revit, geometry, dynamo\
**Created:** [September 15, 2023, 10:50am UTC](https://forum.dynamobim.com/t/geometry-doesintersect-doesnt-sense-the-intersection/93795 "2023-09-15T10:50:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![M\_S](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@M\_S](https://forum.dynamobim.com/u/M_S)\
**Post date:** [September 15, 2023, 10:50am UTC](https://forum.dynamobim.com/t/geometry-doesintersect-doesnt-sense-the-intersection/93795/1 "2023-09-15T10:50:14Z")

</div>

Hello everybody, Although the Items Intersect (In Dynamo and in Revit) and I make it Cross Product the Geometry.DoesIntersect give all the values False. Can anyone help please?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/0/b0299b57ab415b1b69b3b68bfa616fca234a564f.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/4/2450ee3d33a3f639fd1e1a06242371357b27d9b6.jpeg)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [September 15, 2023, 10:54am UTC](https://forum.dynamobim.com/t/geometry-doesintersect-doesnt-sense-the-intersection/93795/2 "2023-09-15T10:54:20Z")

</div>

Looks like `True` should be `true` in the code block leading into the AllIndiciesOf node, as the boolean value for true is `true`, while the upper case is not defined and therefore is currently a null object.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [September 15, 2023, 11:06am UTC](https://forum.dynamobim.com/t/geometry-doesintersect-doesnt-sense-the-intersection/93795/3 "2023-09-15T11:06:51Z")

</div>

Hi @M_S I would try with “list any true node” set to level2 after your geometryintersect and use filterboolmask or as Jacob say AllIndiciesOf node

---

<div class="post-metadata">

**Author:** ![M\_S](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@M\_S](https://forum.dynamobim.com/u/M_S)\
**Post date:** [September 15, 2023, 11:17am UTC](https://forum.dynamobim.com/t/geometry-doesintersect-doesnt-sense-the-intersection/93795/4 "2023-09-15T11:17:01Z")

</div>

Actually Changing the Case senstivity for the True Solved the Issue thanks so much. and also thanks for the prompt response

---

<div class="post-metadata">

**Author:** ![M\_S](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@M\_S](https://forum.dynamobim.com/u/M_S)\
**Post date:** [September 15, 2023, 11:17am UTC](https://forum.dynamobim.com/t/geometry-doesintersect-doesnt-sense-the-intersection/93795/5 "2023-09-15T11:17:40Z")

</div>

The issue that the True was in Capital letters so Dynamo didn’t sense it as a Var

---

<div class="post-metadata">

**Author:** ![Vladimir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vladimir/32/147600_2.png) [@Vladimir](https://forum.dynamobim.com/u/Vladimir)\
**Post date:** [September 15, 2023, 2:59pm UTC](https://forum.dynamobim.com/t/geometry-doesintersect-doesnt-sense-the-intersection/93795/6 "2023-09-15T14:59:25Z")

</div>

By the way, what is the purpose of using ListIndexOf? It’s rather slow with large lists. You can use FilterByBoolMask instead with @@L2 on Mask input.
