Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Options

RayCast Result: Entity Equivalence in a TransientId

Jonathan_HutchinsonJonathan_Hutchinson Member Posts: 64 PRO
I have an input surface that I am casting rays onto, but as well as this surface I am also casting rays through another object's faces. I'm trying to see which ones reach the surface and which don't. So I'm attempting to use the transientId in the RaycastResult map. What I'm finding though, is that evaluating the surface query before raycasting gets a transientId that doesn't feature in any of the intersections, and as the name suggests and I guess as would be expected the transientId is no longer what it was before!

Is there some way I can detect the equivalence of the entity that the transientId results in, even if the ids are different? Otherwise to me it seems like the queried thing is a little bit lost.
Tagged:

Comments

Sign In or Register to comment.