Finding the center of masses of components in an assembly

I am trying to find the center of mass of the components in a larger assembly relative to the assembly origin/a user defined coordinate system. I can find these coordinates manually in the Mass Properties dialogue box, but I'd have to go component by component and manually copy/paste each coordinate. Is there a way to populate all of the coordinates of each component and their masses to a list like a Bill of Materials?