Jump to content

CNCBreak by closing inquireParameterList


Recommended Posts

Yes, a simple way is to check if the variable you are asking for has changed from the initial value.
And use endInspection() instead of cncBreak(), that one is so "violent".
orka="defalutValue"
inquireParameterList("orka","a comment")
if orka == "defalutValue"
	endInspection()
endif
But the confirm dialog requires a yes or no answer, the x is inactive, isn't it?
If you know how to, you can make use of the dialog class, and make a answer required to be able to proceed. But that's overkill.
  • 3 months later...
Thanks for your reply Eric! (I didn't notice I got an snswer until now)

The problem is that 95 % of the time, the parameters will not change. I will only confirm that the variables are the same.

You are right regarding the inactive x with confirm dialog.
×
×
  • Create New...