hexagon logo

MAX Point MIN Point Of a scan

Morning All,

I am having some trouble finding the max values for different linear open scans. I looked at other posts and I tried Josh's code but I could not get it to work.

Does anyone see a problem with my code or something I am doing wrong?


F1 =GENERIC/POINT,DEPENDENT,CARTESIAN,$
NOM/XYZ,<TOPSCN.HIT[MAXPTINDEX].TX,TOPSCN.HIT[MAXPTINDEX].TY,TOPSCN.HIT[MAXPTINDEX].TZ>,$
MEAS/XYZ,<TOPSCN.HIT[MAXPTINDEX].X,TOPSCN.HIT[MAXPTINDEX].Y,TOPSCN.HIT[MAXPTINDEX].Z>,$
NOM/IJK,<TOPSCN.HIT[MAXPTINDEX].TI,TOPSCN.HIT[MAXPTINDEX].TJ,TOPSCN.HIT[MAXPTINDEX].TK>,$
MEAS/IJK,<TOPSCN.HIT[MAXPTINDEX].I,TOPSCN.HIT[MAXPTINDEX].J,TOPSCN.HIT[MAXPTINDEX].K>

DIM LOC1= LOCATION OF POINT F1 UNITS=IN ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
AX NOMINAL +TOL -TOL MEAS DEV OUTTOL MAX MIN
X 0.0000 0.0020 0.0020 0.0000 0.0000 0.0000 0.0000 0.0000 ----#----
Y 0.0000 0.0020 0.0020 0.0000 0.0000 0.0000 0.0000 0.0000 ----#----
Z 0.0000 0.0020 0.0020 0.0000 0.0000 0.0000 0.0000 0.0000 ----#----
END OF DIMENSION LOC1
ASSIGN/MAXPTINDEX=0

TIA
Parents
  • Is there a way to extract the max or minimum "T" value? or simply max/min deviation?

    I have a large number of vector points I have brought into a scan and I would like to extract the minimum deviation and the maximum deviation as it is displayed in the profile dimension on the report.


    You can also :
    ASSIGN/V1=DOT(SCN1.HIT[1..SCN1.NUMHITS].XYZ-SCN1.HIT[1..SCN1.NUMHITS].TXYZ,SCN1.HIT[1..SCN1.NUMHITS].TIJK)
    ASSIGN/MAX_T=MAX(V1)
    ASSIGN/MIN_T=MIN(V1)
Reply
  • Is there a way to extract the max or minimum "T" value? or simply max/min deviation?

    I have a large number of vector points I have brought into a scan and I would like to extract the minimum deviation and the maximum deviation as it is displayed in the profile dimension on the report.


    You can also :
    ASSIGN/V1=DOT(SCN1.HIT[1..SCN1.NUMHITS].XYZ-SCN1.HIT[1..SCN1.NUMHITS].TXYZ,SCN1.HIT[1..SCN1.NUMHITS].TIJK)
    ASSIGN/MAX_T=MAX(V1)
    ASSIGN/MIN_T=MIN(V1)
Children
No Data