AnsweredAssumed Answered

How to get global bodies array with correct transforms to assembly space

Question asked by Valentin Müller on Mar 6, 2019
Latest reply on Mar 7, 2019 by Valentin Müller

Hi,

 

how do I get the transform for parts in an assembly? The assembly is a box, that has four parts. Each part is a board, made of an sketch and extrusion.

Now I am able to get the bounding box of each board via the component. What I want is to get the bodies, that can then serve as an input for IModelDoc2::RayIntersections Method.

 

Problem is that the bodies I got from the extrusion are not in the assembly space.

 

Where should I get the correct transform to move the parts in assembly space?

Outcomes