In Panelmetrix there is the TOOL ID use throughout the program to reference the items in Pmetrix' Tool Library and then there is the "Tool Call" setting for each tool. This is the number that Panelmetrix will actually use in the output NC code. Usually this is defined to be the same as the internally used TOOL ID, but occasionally it gets overlooked and a mix up can occur.
Can you make sure that the tool you are referencing and the one that is being output is the same as the tool that you are measuring (as in the same T#).
(* If this isn't the issue then I am really stymied!