Jump to content

Remeasure Loop


Recommended Posts

Hello!

Trying to set up (below) a feature to be remeasured if it doesn't achieve a certain form error (.0005 in this case) I want it to remeasure a max of 3x. What goes into the [LoopIndex]? Don't usually do much in parameter postsettings and PCM, but I'm trying!

Thanks!


i=.0005
if getActual("Sphere2").form >i then
measure("Sphere2"[,LoopIndex])
endif
Link to comment
https://qualityforum.zeiss.com/topic/8272-remeasure-loop/
Share on other sites

  • 2 months later...
Hello,

I have a similar problem. I created a circle using a pattern (with LOOP-index LOOP2). So I have 8 circles overall.
But when I check the form either in the pre-settings of the radius-characteristic by

for i=1 to 8   
  if getActual("Kreis",i).form > 0.008 then
     measure("Kreis",i)
       endif
          next i 
or in the post-settings of the feature by

if getActual("Kreis",LOOP2).form > 0.008 then
   measure("Kreis",LOOP2)
       endif 
the relevant feature won't be remeasured although I know the circle[4] doesn't fulfil the condition.
Even if I put the command

measure("Kreis",4)
in pre-settings of the radius-characteristic won't repeat the measurement.

Does anybody know the reason?

Unbenannt.JPG

Link to comment
https://qualityforum.zeiss.com/topic/8272-remeasure-loop/#findComment-36318
Share on other sites

×
×
  • Create New...