i'm a noob, so this may be pretty simple for the rest of you. I have a large number of auto-vector hits in this program, what I want is to report the minimum and maximum tol values. I have been reading hte help files and manuals, but I can't figure this out. here is what i have so far:
scn1 = feature set of all the points
loc1234 = dimensioned scn1 tol
assign v1 = sortup(array(loc1234.t.meas))
Or do I have to report all the individual points and then construct an array like this: assign v1 = array(loc1.t.meas, loc2.t.meas.....etc)
if so, is there an easy way to do that?
Maybe you could try to do it with points only, in a loop. DPH51 uses this formula from a long time and it works fine !
If you try something like :
ASSIGN/VAR2=""
ASSIGN/ I=1
LOOP from 1 to 17
ASSIGN/VAR1="P"+I
ASSIGN/VAR2=VAR2+","+DOT(VAR1.XYZ-VAR1.TXYZ,VAR1.TIJK)
ASSIGN/I=I+1
End loop
Then you calculate min and max of Var2.
I'm not sure of the syntax, I'm not at the CMM now, but I think it should work.
Maybe you could try to do it with points only, in a loop. DPH51 uses this formula from a long time and it works fine !
If you try something like :
ASSIGN/VAR2=""
ASSIGN/ I=1
LOOP from 1 to 17
ASSIGN/VAR1="P"+I
ASSIGN/VAR2=VAR2+","+DOT(VAR1.XYZ-VAR1.TXYZ,VAR1.TIJK)
ASSIGN/I=I+1
End loop
Then you calculate min and max of Var2.
I'm not sure of the syntax, I'm not at the CMM now, but I think it should work.