# How to know what cuboid an element is in

**URL:** <https://forum.dynamobim.com/t/how-to-know-what-cuboid-an-element-is-in/52763>\
**Category:** Uncategorized\
**Created:** [July 8, 2020, 2:28pm UTC](https://forum.dynamobim.com/t/how-to-know-what-cuboid-an-element-is-in/52763 "2020-07-08T14:28:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![akire27](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/akire27/32/96264_2.png) [@akire27](https://forum.dynamobim.com/u/akire27)\
**Post date:** [July 8, 2020, 2:28pm UTC](https://forum.dynamobim.com/t/how-to-know-what-cuboid-an-element-is-in/52763/1 "2020-07-08T14:28:01Z")

</div>

Hi everyone,  
There are elements placed on a surface formed by cuboids.  
Is there any way to know what specific cuboid each element is in?  
(the coordinates of the centroids are different from the coordinates of the elements)  
Thanks to all

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/f/4fecb77268c6a770786694d69112762a9eb9768e.png)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [July 8, 2020, 4:23pm UTC](https://forum.dynamobim.com/t/how-to-know-what-cuboid-an-element-is-in/52763/2 "2020-07-08T16:23:29Z")

</div>

@akire27 Would help if you share a base/sample file to explain your problem better.

From what I’ve understood of your problem …

 ![contains_2020-07-08_09-50-41](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/c/5c10be7e59b48bef581b9709ad8387ce830c1723.png)  
[contains.dyn](https://forum.dynamobim.com/uploads/short-url/qJEzsNTvPLpomNKH69W2EWBTaUJ.dyn) (13.6 KB)

---

<div class="post-metadata">

**Author:** ![akire27](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/akire27/32/96264_2.png) [@akire27](https://forum.dynamobim.com/u/akire27)\
**Post date:** [July 10, 2020, 9:55am UTC](https://forum.dynamobim.com/t/how-to-know-what-cuboid-an-element-is-in/52763/3 "2020-07-10T09:55:15Z")

</div>

Thanks @Vikram_Subbaiah !  
Yes the problem is that, but I tried and in my case it doesn’t work, I don’t know why, the points should be inside the cuboids, but the intersections are all false.

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

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [July 10, 2020, 10:09am UTC](https://forum.dynamobim.com/t/how-to-know-what-cuboid-an-element-is-in/52763/4 "2020-07-10T10:09:17Z")

</div>

> [@akire27](#):
>
> in my case it doesn’t work

Right click on _AUTO_ of _Geometry.DoesIntersect_ and change _Lacing_ to _Cross Product_

---

<div class="post-metadata">

**Author:** ![akire27](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/akire27/32/96264_2.png) [@akire27](https://forum.dynamobim.com/u/akire27)\
**Post date:** [July 10, 2020, 11:14am UTC](https://forum.dynamobim.com/t/how-to-know-what-cuboid-an-element-is-in/52763/5 "2020-07-10T11:14:29Z")

</div>

Thank you so much!
