[Ch...] Posted December 16, 2025 Share Posted December 16, 2025 Hi together, is there a way to set nominal tolerance by condition? this is my current script selectCase getRecordHead("u_auft") case "A" setRecordHead("drawingno", "11111") setRecordHead("u_drawingindex", "A") setRecordHead("u_Aindex", "01") case "B" setRecordHead("drawingno", "22222") setRecordHead("u_drawingindex", "B") setRecordHead("u_Aindex", "02") case "C" setRecordHead("drawingno", "33333") setRecordHead("u_drawingindex", "C") setRecordHead("u_Aindex", "03") caseElse message("Auftrag [", getRecordHead("u_auft"), "] nicht bekannt!", chr(13),"Programm wird abgebrochen!") cncBreak() endSelect reading tolerance value works great display(getNominal("Feature").tolerance.upperTolerance) (Wish) would be cool, if something like this would be possible getNominal("Feature").tolerance.upperTolerance) = 0.15 Link to comment Share on other sites More sharing options...
[Ma...] Posted December 19, 2025 Share Posted December 19, 2025 What about setting your variables in the Nominal, Lower and Upper tolerance of the characteristic and change those depending on the user select. 1 Link to comment Share on other sites More sharing options...
[Ch...] Posted January 7 Author Share Posted January 7 The usual limit value is entered in the Lower and Upper Tol. fields. Your reply sounds, i can set a variable in this fields or switch the fields to something. Could you tell me how to edit this? Link to comment Share on other sites More sharing options...
[Ma...] Posted January 13 Share Posted January 13 (edited) Please sign in to view this username. Are you asking how to set a variable to upper/lower tolerance or how to change those values? Edited January 13 edit Link to comment Share on other sites More sharing options...
[Ch...] Posted January 13 Author Share Posted January 13 setting variables should be like feature_nominal = 10.0 feature_ltol = -0.2 feature_utol = 0.2 in pcm. ok? but how to set/use the variable in the feature dialog? how to get this variable in the fields? Link to comment Share on other sites More sharing options...
[Ke...] Posted January 13 Share Posted January 13 If you have a pcm license, you would right click the relevant field and select "formula". Not all fields accept a formula input, but most do Link to comment Share on other sites More sharing options...
[Ch...] Posted 7 hours ago Author Share Posted 7 hours ago thank you, i got it working Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in