hexagon logo

T-Values from a SCN Set

Ex. SCN1 (either a constructed set or scan feature)

T-Value Calculation and reporting of Max and Min Values.


No generic points needed.

No Loop.

No previous Dimensioning.

Create a T-Value array, find maxval and minval, and get the maxpnt and minpnt.


ASSIGN/TVAL=0

ASSIGN/TVAL=DOT((SCN1.HIT[1..SCN1.NUMHITS].XYZ-SCN1.HIT
[[COLOR=#ff0000]1..SCN1.NUMHITS[/COLOR] ].TXYZ),SCN1.HIT[[/COLOR]1..SCN1.NUMHITS].TIJK)

ASSIGN/MAXVAL=MAXINDEX(TVAL)

ASSIGN/MINVAL=MININDEX(TVAL)

ASSIGN/MAXPNT=GETTEXT("REFERENCE ID",MAXVAL,{SCN1})

ASSIGN/MINPNT=GETTEXT("REFERENCE ID",MINVAL,{SCN1})


Then dimension any two points x,y,z,t
Say LOC1 PNT1 & LOC2 PNT2

Highlight LOC1 and replace it with MAXTVAL
Highlight PNT1 and replace it with MAXPNT

Highlight LOC2 and replace it with MINTVAL
Highlight PNT2 and replace it with MINPNT


That's it.
Parents
  • Oupps, hit the wrong key Blush.
    Corrected and tested but still the same result.
    It has to be something simple I just can't see what.
    All I get is either 0 or "" as result and I think the point results are those of the original points I used, the measured values are 0.001 mm different.
    Oh well it's 1 hour to "Foxtrot Oscar" time.

    Bon Weekend
Reply
  • Oupps, hit the wrong key Blush.
    Corrected and tested but still the same result.
    It has to be something simple I just can't see what.
    All I get is either 0 or "" as result and I think the point results are those of the original points I used, the measured values are 0.001 mm different.
    Oh well it's 1 hour to "Foxtrot Oscar" time.

    Bon Weekend
Children
No Data