Ray Intersection - Getting the hit geometry

Hi @TomTom, I do not understand what do you mean by “selecting” the object before ray shooting. Can you please attach some code ? Eventually just the command line.
So far I couldn’t find any way to get the hit geometry directly from the rayshooting option. Althought it is the most obvious way to proceed. The solution that I proposed works good but is especially inefficient.

The only thing that I could find in the API is the following description of the output, but I couldn’t use it (the output array is never the size of the input geometry) :

Return Value

Type:Point3d[ ]
An array of points: one for each face that was passed by the faceIds out reference.