Output all component coordinate xyz of an assembly

Hello,

I would like to find out how to output the component name, component coordinates xyz of an assembly relative to

the assemblies (0,0,0) origin and the size xyz of a component. I have seperate software that needs an input of the following

example:

               (panelname,coordX,coordY,coordZ,sizeX,sizeY,sizeZ)

Output file could be text or table excel format.

Does anybody know how to do this?

SolidworksAssemblies