[Fl...] Posted April 6, 2023 Share Posted April 6, 2023 Hi, i am curious if there is a way to directly get the exceedance value (how much the result exceeds the tolerance/limit) of a characteristic? Is there a command to get it directly or do i have to calculate it? Regards, Florian Link to comment Share on other sites More sharing options...
[Is...] Posted April 6, 2023 Share Posted April 6, 2023 not sure.. maybe you could generate a function to avoid the calculation more than once... featureName="" exedTol=0 defineFunctionStart("exedTol") exedTol=0 if getActual(featureName).actual > getNominal(featureName).tolerance.upperLimit exedTol=getActual(featureName).actual - getNominal(featureName).tolerance.upperLimit endif if getActual(featureName).actual < getNominal(featureName).tolerance.lowerLimit exedTol=getActual(featureName).actual - getNominal(featureName).tolerance.lowerLimit endif defineFunctionEnd(exedTol) then later just call the function: featureName ="Diameter_Circle1" circle1_exed= executeFunctionNamed("exedTol") Link to comment Share on other sites More sharing options...
[Gu...] Posted April 23, 2023 Share Posted April 23, 2023 //------- some commands for getActual---------- getActual("Diameter").dmisexceed //Exceed getActual("Diameter").actual //Actual getActual("Diameter").deviation //Deviation getActual("Diameter").inTolerance // In tolerance? true or false getActual("Diameter").inWarningLimit //In warning limit? true or false 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