[Co...] Posted January 24, 2023 Share Posted January 24, 2023 I had one of my base alignments not calculate one of the datums and showed it as one of those purple features that we all know. The program continued to run and almost had a major crash since it didn't know where the part was. My question is if there is a way to add a programmable stop so when something is not calculated it will not continue to run. Link to comment Share on other sites More sharing options...
[Ju...] Posted January 24, 2023 Share Posted January 24, 2023 You could add a break condition in your base alignment. This will cause the alignment to continue to loop until the break condition is met. viewtopic.php?t=2681 Link to comment Share on other sites More sharing options...
[Is...] Posted January 24, 2023 Share Posted January 24, 2023 for features: if not isParameterDefined("getActual(" + chr(34) + "Line1" + chr(34) + ").a1") then endInspection() endif for curves: if abs(getActual("Curve1").result.maxDev) > 900 then endInspection() endif Link to comment Share on other sites More sharing options...
[Co...] Posted January 24, 2023 Author Share Posted January 24, 2023 Thank you, I figured it was going to be some type of formula. I would put my feature name where it says "Line1" correct? Link to comment Share on other sites More sharing options...
[Is...] Posted January 25, 2023 Share Posted January 25, 2023 Please sign in to view this quote. yes 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