Jump to content

Exceedance of characteristic


---
 Share

Recommended Posts

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

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

  • 3 weeks later...
//------- 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

 Share

×
×
  • Create New...