Cyliderparams

Hello,

I am working on an assembly and trying to check if 2 axes of 2 different cylindrical surfaces on different components are aligned.

I used ISurface::CylinderParams Property ​to get the coordinates of the axis. This function returns the coordinates with respect to the part- fixed coordinate system. However, the coordinates I need have to be expressed with respect to the assembly-fixed coordinate system. How can I perform the coordinates transformation or is there another function.

yours faithfully

SolidworksApi macros