hexagon logo

assignment not pulling correct data

Hi Guys,

I'm having trouble reporting the actual measurements.

I take a bunch of points and then i extract the highest point value works in other programs i created but i dunno maybe i'm having a brain fart.
when i look through the point values its not grabbing the highest value that i am looking to extract/report.

the highest Z value is 1.7928 but it is pulling the combined/actual average of all the points? 1.7898

which is not the highest Z value.

any help would be appreciated

SCN1 =FEAT/SET,CARTESIAN
THEO/<-0.3562,0,1.789>,<0,0,1>
ACTL/<-0.3562,-0.0002,1.7898>,<0,0,1>
CONSTR/SET,BASIC,PNT8A,PNT4,PNT80,PNT81,PNT82,PNT83,PNT84 ,PNT85,PNT86,PNT87,PNT88,PNT89,PNT90,PNT91,PNT92,P NT93,PNT94,PNT95,PNT96,PNT97,PNT98,PNT99,PNT100,PN T101,PNT102,PNT103,PNT104,PNT105,PNT106,PNT107,PNT 108,PNT109,PNT110,PNT111,PNT112
PNT113,PNT114,PNT115,PNT116,PNT117,PNT118,PNT119,P NT120,PNT121,PNT122,PNT123,,

$$ NO,
<><><><><><><>
<><><><><><><>
ASSIGN/THREAD=SCN1.Z.MAX*2
F5 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
NOM/XYZ,<0,0,0>,$
MEAS/XYZ,<0,0,0>,$
NOM/IJK,<1,0,0>,$
MEAS/IJK,<1,0,0>,$
DIAMETER/0,THREAD
$$ NO,
<><><><><><><>
<><><><><><><>
DIM THREAD MAJ= LOCATION OF CIRCLE F5 UNITS=IN ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
D 3.5860 0.0050 0.0050 3.5797 -0.0063 0.0013 <--------
END OF DIMENSION THREAD MAJ