How to know what cuboid an element is in

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

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

From what I’ve understood of your problem …


contains.dyn (13.6 KB)

2 Likes

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.

Right click on AUTO of Geometry.DoesIntersect and change Lacing to Cross Product

1 Like

Thank you so much!

1 Like