Jump to content

Uncalculated (Purple) Features


---
 Share

Recommended Posts

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

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

 Share

×
×
  • Create New...