How do you access separate geometry of a model?

I basically need to simulate physics on some objects, and send their positions and orientations of these objects to an external software.