Exporting of part coordinates in assembly

I have a large assembly and I would like to export the origin and orientation of specific subassemblies (cameras). Specifically I am looking to automate the process, so it can be carried out in a reproducible fashion. The high level assembly can contain a varying amount cameras. If necessary, the camera subassemblies can be modified to contain a specifically named part, sketch or other entity to support the exporting process.

The export file format can be any text, csv, or similar that can be parsed on a second platform.

Any ideas for a script based or other process would be welcome.

Cheers

^j

SolidworksImport/export