transforms

I'm trying to get a transform matrix from subassemblies inmyglobal assembly. I want to get the assemblies' origin inrelationto the global assembly.

Can anyone help me?

Sorry for my bad english.SolidworksApi macros