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?
ASSIGN/VAR1=DOT((SCN1.HIT[1..SCN1.NUMHITS].XYZ-SCN1.HIT[1..NUMHITS].TXYZ),SCN1.HIT[1..NUMHITS].TIJK)
ASSIGN/MAX_VAR1=MAX(VAR1)
ASSIGN/MIN_VAR1=MIN(VAR1)
COMMENT/REPT,
"ORBIT RANGE IS "+MIN_VAR1+" TO "+MAX_VAR1
report reads : "orbit range is 0 to 0"
this line will not work: ASSIGN/PROF_VAR2=FORMAT("%.4f",VAR2)
ASSIGN/VAR1=DOT((SCN1.HIT[1..SCN1.NUMHITS].XYZ-SCN1.HIT[1..NUMHITS].TXYZ),SCN1.HIT[1..NUMHITS].TIJK)
ASSIGN/MAX_VAR1=MAX(VAR1)
ASSIGN/MIN_VAR1=MIN(VAR1)
COMMENT/REPT,
"ORBIT RANGE IS "+MIN_VAR1+" TO "+MAX_VAR1
report reads : "orbit range is 0 to 0"
this line will not work: ASSIGN/PROF_VAR2=FORMAT("%.4f",VAR2)