To get a matrix of component use API ProAsmcomppathTrfGet(). This function could return the Matrix in both directions depending on arguments:
/* (In) The component path.
*/ ProBoolean bottom_up /* (In)
If you request the transformation from the member to the assembly, this is PRO_B_TRUE. Otherwise, this is PRO_B_FALSE. */
The transformation matrix.