Jump to content
Private Messaging is activated - check "How to" on how to disable it ×

Updating Curve Nominal


---
 Share

Recommended Posts

Would someone help me understand what I'm doing wrong here? I can execute the Curve, and it imports the correct nominals and measures it, but when I try to open the Line Profile to evaluate it, I get an error message saying "Unable to read nominal point file!". 

After I get this error, it looks like it is setting the variable back to blank. 

After further testing I found out that removing the inquireList and just hard coding the specific set alleviated the issue, but I don't understand why it is behaving that way at all. 

image.png.2192eab0e435346375a9c9677e26d345.png

image.png.7efece47a930641884865b2f632241e6.png

image.png.b5a03255b2ed0ac9812fd1f1d61490e5.png

image.png.cc03ee9a2793a78c2777951c323fa909.png

The inquireList is just temporary for testing as I'll be moving to selectCase based specific measurements, but I'm just worried about this behavior. I'm hoping I don't have this same issue with selectCase. 

Has anyone ran into this before, or could shed some light on if I'm doing something incorrect. 

 

 

Link to comment
Share on other sites

Try it, after you have replaced "Nominal Curves" by "NominalCurves".

The "space" into a path isn't 100% solved.

I prefer label without "space", it's easier to select by "DoubleClick".

Link to comment
Share on other sites

Please sign in to view this quote.

I'll try that, but as you can see in the last picture, it still resolved the Nominal Curves portion, it is just wiping the setNo variable for whatever reason. It only wipes it when you open the characteristic - you can open/close the feature as much as you'd like and there are no issues. Maybe it's a bug, maybe I'm an idiot. Lol. 

Link to comment
Share on other sites

The value of the parameter setNo gets deleted if you open the characteristic because it invokes the curve and its pre-settings. The inquireList command is not executed.

Try something like :

if getCNCMode()=="cnc"
setNo=inquireList("blabla", "Kurve","Kurve2")
endif
curevloc="C:\Temp\" + setNo+ ".txt"

 

Link to comment
Share on other sites

Cube_LoadCurve.zip

I assign critical parameter always inside the pre-settings of inspection, so I'm sure to have correct parameter.

Sometimes, I doesn't know why, a default value must be assigned inside the inspection parameter, or parameter file.

The attached inspection would be run with simulation CALYPSO 7.8.

Link to comment
Share on other sites

 Share

×
×
  • Create New...