Hello everyone )
I want to share a python module for Autodesk Maya that shows one of plenty ways to collect data before combining objects and separating them back to an initial state (when complex composed meshes were used for combining)
Probably you will find this example to be useful for some purposes
I had wrote a similar tool but for Freezing and Unfreezing transforms. Essentially captures the state of the object before freezing transforms. Then you can decide later to unfreeze and get pivot and TRS.