Hi all,
Pro/Toolkit User Guide has a chapter 'Transforming to Coordinate System Datum Coordinates' - the basic steps are outlined there.
This is how one would do it without using cursory online search:
Get ProCsys from ProFeature using ProFeatureGeomitemVisit and ProGeomitemToCys or ProCsysInit or ProSolidCsysVisit whatever is more convinient.
Having ProCsys handle - get ProGeomitemdata with ProCsysDataGet - this data has everything for determining transformation from coordinate system in question to a model reference frame.
Create a matrix (from csys to model frame) using
ProMatrixInit(
geomdata->data.p_csys_data->x_vector,
geomdata->data.p_csys_data->y_vector,
geomdata->data.p_csys_data->z_vector,
geomdata->data.p_csys_data->origin );
Repeat those steps for another coordinate system.
The rest is an excercise of matrix multiplications and inversions - the functions for matrix manipulation are in Pro/Toolkit examples 'UtilMatrix.c' file.
it would be a good idea to pay attention to matrix multiplicaiton order A * B is not equal to B *A - turn left and make three steps forward would end being in a quite different location comparing to three steps forward and turn left...
HIH.
FV.