Hi,
the best way to visualise what measurements go into making the controlled point location is the 'Diagnostics Tab'
The two APIs you have tried relate to the <Work Offset> and the <G92 Offset> whereas you need to look at <Tool Offset>.
The tool APIs:
rc = mc.mcToolSetData(
number mInst,
number Type,
number Toolnumber,
number val);
Description:
Set the offset values for each tool.
Parameters: Parameter Description
mInst The controller instance.
Type MTOOL_MILL_X, MTOOL_MILL_X_W, MTOOL_MILL_Y, MTOOL_MILL_Y_W, MTOOL_MILL_HEIGHT, MTOOL_MILL_HEIGHT_W, MTOOL_MILL_RAD, MTOOL_MILL_RAD_W, MTOOL_MILL_POCKET, MTOOL_LATHE_X, MTOOL_LATHE_X_W, MTOOL_LATHE_Y, MTOOL_LATHE_Y_W, MTOOL_LATHE_Z, MTOOL_LATHE_Z_W, MTOOL_LATHE_POCKET, MTOOL_LATHE_TIPRAD, MTOOL_MILL_RAD, MTOOL_LATHE_TIPDIR
Toolnumber Tool number to be set
val Value to set the selected offset.
Craig