Hi @james_eppARR4H
It seems like a bug in the generic post as well I will make a ticket to fix it
To fix it edit the .cps file
find for the following line of codes
programInfo["program.partLowerX"] = partLowerX;
programInfo["program.partLowerY"] = partLowerY;
programInfo["program.partLowerZ"] = partLowerZ;
programInfo["program.partUpperX"] = partUpperX;
programInfo["program.partUpperY"] = partUpperY;
programInfo["program.partUpperZ"] = partUpperZ;
programInfo["program.partDX"] = partUpperX - partLowerX;
programInfo["program.partDY"] = partUpperY - partLowerY;
programInfo["program.partDZ"] = partUpperZ - partLowerZ;
and change it to
programInfo["program.partLowerX"] = toPreciseUnit(partLowerX, MM);
programInfo["program.partLowerY"] = toPreciseUnit(partLowerY, MM);
programInfo["program.partLowerZ"] = toPreciseUnit(partLowerZ, MM);
programInfo["program.partUpperX"] = toPreciseUnit(partUpperX, MM);
programInfo["program.partUpperY"] = toPreciseUnit(partUpperY, MM);
programInfo["program.partUpperZ"] = toPreciseUnit(partUpperZ, MM);
programInfo["program.partDX"] = toPreciseUnit(partUpperX - partLowerX, MM);
programInfo["program.partDY"] = toPreciseUnit(partUpperY - partLowerY, MM);
programInfo["program.partDZ"] = toPreciseUnit(partUpperZ - partLowerZ, MM);
Save the post and test now it should respect the units
Boopathi Sivakumar
Senior Technology Consultant