CATIA Report Template Design - Compare two engineering structures

Hi All,

 

I want to design a report that would check if children items of an assembly exist in another assembly. For example, I have ASSY1 and it has 100 children. ASSY2 has 1000+ children and I want to check if each child in ASSY1 exists in ASSY2.

I'm wondering if this is possible in Report Template Design tool and if so, how do I store a child list of ASSY2 in order to compare with each item in ASSY1?