Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I am using Creo Parametric 4.0 M140
Please suggest the below Creo UI workflow in toolkit API
1. Analysis >> Measure >> Summery >> Select CSYS at assembly level >> Get info X,Y,Z.
To get a matrix of component use API ProAsmcomppathTrfGet(). This function could return the Matrix in both directions depending on arguments:
ProAsmcomppathTrfGet (
ProAsmcomppath* p_path
/* (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. */
ProMatrix transformation
/* (Out)
The transformation matrix.