hexagon logo

Code to mark/unmark out of tolerance dimensions

I am trying to figure out a way to automatically mark or unmark feature dimensions that are out of tolerance.
I have a program that includes some if/then statements where it re-measures a diameter at a different depth if the first one is OOT.
So my problem is that in the reporting portion of the program, I want the program to only reflect the in tolerance measurement and not the failed measurements.

I can post the code if it helps.
I am slightly familiar with using vb scripts.


Parents
  • I am trying to figure out a way to automatically mark or unmark feature dimensions that are out of tolerance.
    I have a program that includes some if/then statements where it re-measures a diameter at a different depth if the first one is OOT.
    So my problem is that in the reporting portion of the program, I want the program to only reflect the in tolerance measurement and not the failed measurements.

    I can post the code if it helps.
    I am slightly familiar with using vb scripts.





    I'm sure you know but if it measures out of tolerance at any depth it's out of tolerance right?
Reply
  • I am trying to figure out a way to automatically mark or unmark feature dimensions that are out of tolerance.
    I have a program that includes some if/then statements where it re-measures a diameter at a different depth if the first one is OOT.
    So my problem is that in the reporting portion of the program, I want the program to only reflect the in tolerance measurement and not the failed measurements.

    I can post the code if it helps.
    I am slightly familiar with using vb scripts.





    I'm sure you know but if it measures out of tolerance at any depth it's out of tolerance right?
Children
  • Yes, I was using that as a basic example. Typically in my situation, I will have a datum plane with target diameters of where to pick it up and it has a profile dimension. Due to the parts having some variance with welds and other things, I will have it measure in different spots in the target zones to achieve a good result which the customer is ok with. I just want to clean the report up for the operators and engineers so it doesn't show the bad initial reading or the rechecks if they weren't exectuted
  • Are you able to just take manual hits for those features and do away with that entirely?
    EDIT:
    Maybe take a manual point on where to start and DCC from there, or something, I mean