# Node to find touching elements

**URL:** <https://forum.dynamobim.com/t/node-to-find-touching-elements/68260>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [September 16, 2021, 4:53am UTC](https://forum.dynamobim.com/t/node-to-find-touching-elements/68260 "2021-09-16T04:53:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jazzsharma200](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jazzsharma200](https://forum.dynamobim.com/u/jazzsharma200)\
**Post date:** [September 16, 2021, 4:53am UTC](https://forum.dynamobim.com/t/node-to-find-touching-elements/68260/1 "2021-09-16T04:53:06Z")

</div>

Is there any node through which we can find the faces of elements touching each other?

---

<div class="post-metadata">

**Author:** ![danail.momchilov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/danail.momchilov/32/152056_2.png) [@danail.momchilov](https://forum.dynamobim.com/u/danail.momchilov)\
**Post date:** [September 16, 2021, 5:53am UTC](https://forum.dynamobim.com/t/node-to-find-touching-elements/68260/2 "2021-09-16T05:53:28Z")

</div>

Depends on what you are trying to do, maybe a bit more information would be needed. I think you could use the Geometry.IntersectAll node: [Geometry.Geometry - IntersectAll](https://truevis.com/nodes/geometry-geometry-intersectall/)

Let’s say you are intersecting solids:

- if two solids’ faces are only “touching”, it would return their common face
- if two solids are intersecting, it would return a solid
- if they have no intersection at all, it returns an empty list

Hope this helps

---

<div class="post-metadata">

**Author:** ![jazzsharma200](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jazzsharma200](https://forum.dynamobim.com/u/jazzsharma200)\
**Post date:** [September 16, 2021, 6:03am UTC](https://forum.dynamobim.com/t/node-to-find-touching-elements/68260/3 "2021-09-16T06:03:28Z")

</div>

All I need is the exposed face of the beam whose some area of the face is touching the floor.

> [@Exposed Face of the Beam Dynamo](https://forum.dynamobim.com/t/exposed-face-of-the-beam-dynamo/68212):
>
> I want the Exposed Face marked as Green in the ScreenShot Using Dynamo. Can we get this exposed face in dynamo? Quick Update I just want the face of beam which is below the floor.

---

<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 16, 2021, 6:10am UTC](https://forum.dynamobim.com/t/node-to-find-touching-elements/68260/4 "2021-09-16T06:10:36Z")

</div>

Hi @jazzsharma200 …probably something here could help…

 ![Screenshot 2021-09-06 174403](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7e7e957a8bd03ac704dc2ab7a2e1eaf8bf85639c.png)

---

<div class="post-metadata">

**Author:** ![jazzsharma200](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jazzsharma200](https://forum.dynamobim.com/u/jazzsharma200)\
**Post date:** [September 16, 2021, 6:34am UTC](https://forum.dynamobim.com/t/node-to-find-touching-elements/68260/5 "2021-09-16T06:34:24Z")

</div>

I have tried this thanks to @GavinNicholls but what if a secondary beam is resting on this beam I have to exclude the cross-sectional area of the secondary beam or you can take the floor also if the surface of the floor is touching the beam it needs to be excluded from the beam.

---

<div class="post-metadata">

**Author:** ![jazzsharma200](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jazzsharma200](https://forum.dynamobim.com/u/jazzsharma200)\
**Post date:** [September 16, 2021, 6:36am UTC](https://forum.dynamobim.com/t/node-to-find-touching-elements/68260/6 "2021-09-16T06:36:55Z")

</div>

I tried it returns the empty list but clearly, it has a lot of intersecting solids.

 ![intersection](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/9/19ae08a3b335c505945937d5507528d6c03e850d.jpeg)

---

<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 16, 2021, 6:38am UTC](https://forum.dynamobim.com/t/node-to-find-touching-elements/68260/7 "2021-09-16T06:38:23Z")

</div>

allright…think you should set your lacing to longest…

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [September 16, 2021, 8:16am UTC](https://forum.dynamobim.com/t/node-to-find-touching-elements/68260/8 "2021-09-16T08:16:10Z")

</div>

As discussed via Twitter there are a _lot_ of geometric quirks here versus Rhino Inside unfortunately. I’ve found typically solid unions do not work well in Dynamo versus Grasshopper in many scenarios, especially with glancing edges running alongside one another.

I would simply never take on a workflow this big in Dynamo unfortunately. Total surface calculation sure, but associated calculation is too computationally intense in most cases that are project scale. I love using Dynamo, but I know when it’s beat as well.

Having said that, this is how I’d do it if I had to use Dynamo but it wont scale well. Effectively you clash the entire formwork as a polysurface against each element’s original solid form. It wont work well for elements with coincident faces like beam/slab overlaps unfortunately, you’d need a more complex algorithm to take that one on, maybe that first takes away floors from the polysurface and then lets the rest belong to beams.

[form clash.dyn](https://forum.dynamobim.com/uploads/short-url/nN1SSjCtEfawUZlVkS4CHjOCCMm.dyn) (30.8 KB)  
[FORMWORK.rvt](https://forum.dynamobim.com/uploads/short-url/nSsLKgMyHlB4trqgCAEZvSpswN.rvt) (352 KB)

---

<div class="post-metadata">

**Author:** ![jazzsharma200](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jazzsharma200](https://forum.dynamobim.com/u/jazzsharma200)\
**Post date:** [September 16, 2021, 9:00am UTC](https://forum.dynamobim.com/t/node-to-find-touching-elements/68260/9 "2021-09-16T09:00:29Z")

</div>

It worked & I have verified these are the faces that I need to subtract surface area from the corresponding element.

 ![Intersecting Geometry](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/1/61129635ae6bb0cfb9082bb9118bb231510ae193.jpeg)

---

<div class="post-metadata">

**Author:** ![jazzsharma200](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jazzsharma200](https://forum.dynamobim.com/u/jazzsharma200)\
**Post date:** [September 16, 2021, 9:02am UTC](https://forum.dynamobim.com/t/node-to-find-touching-elements/68260/10 "2021-09-16T09:02:31Z")

</div>

I did got the intersecting Geometry. Now all i have to do is subtract their surface area from the Element surface area.
