I shortly try to reproduce it with OOTB sim05 but failed. I mean I do not see the problem you seeing with that strange changing Z value. Please collect the data and provide it to GTAT for create an IR so that we could have a closer look into.
Tested in NX10.0.3
Thomas Schulz Siemens PLM Manufacturing Engineering Software
as far as I understood your mentioned problem. If you want to switch between internal and external offset settings (LoadOffset True/False). You have to set the global variable "GV_bUseLoadOffset" TRUEor FALSE inside the "CSEInitializeChannel" method and not within the global variable settings.