hexagon logo

Zero out of tolerance features, go to print



I have this code at the end of my programs for the operators to see if anything is out. If there is something out of tolerance then I don't want it to print(make a pdf). how would I write a variable for this to continue to the print/report if its zero out of tolerance.​
Parents
  • I learned that when the operator prompt comes up from the comment that says how many features are out of spec, if you hit cancel instead of ok, then it doesn't go any farther, thus not printing a report. So i just added more text to the original comment after the "+numout" telling the operator to hit cancel if there is a feature OOT, or hit ok if there isn't so it continues on to make a report. So guess that's another way to handle that.
Reply
  • I learned that when the operator prompt comes up from the comment that says how many features are out of spec, if you hit cancel instead of ok, then it doesn't go any farther, thus not printing a report. So i just added more text to the original comment after the "+numout" telling the operator to hit cancel if there is a feature OOT, or hit ok if there isn't so it continues on to make a report. So guess that's another way to handle that.
Children
No Data