Component overlapping

Hi,
Need one help i am creating a program on first level child components of Assy to check complete interference/overlapping currently struggling with Bounding box, can you please suggest some sample code or approach ? i have tried clearance analysis also but couldnt find anything that can report complete overlapping
Thanks

https://nxjournaling.com/comment/4524#comment-4524

The code in the link above will create boxes around all the component bodies in the current assembly. It doesn't do exactly what you are asking, but it might be a good starting point.