Bill of materials (BOM) of the CATIA assembly, with mass
With CATIA V5 open on Windows, a Python script with pycatia (an open library that talks to CATIA through COM, the Windows automation interface) can open the .CATProduct, walk down the tree and write the level, name, type and mass of each item. The assembly is first switched to design mode, so the children are loaded.