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
  • Hi Seul anglais !
    I think you can try 2 solutions :

    1st : create 2 generic points with SCN1.HIT[MINVAL].X , SCN1.HIT[MINVAL].Y,SCN1.HIT[MINVAL].Z as measured values (TX,TY and TZ as theo), the same with IJK for the vector, and the same with MAXVAL for the 2nd point.
    The advantage of DPH's solution goes down (don't have to create points !), but it should work (It was the old way to find those points !)

    2nd : you should change the display of assignments (right click / display values or .... at the bottom of the window), because, if you work in another language than english, I'm not sure that "someone" translated function names (I saw it in an assignment between ""), so that "Reference ID" could be named by NOM ID or something else...

    Hope this help !

    Are you still the "seul anglais "?

    Bon week-end aussi !
Reply
  • Hi Seul anglais !
    I think you can try 2 solutions :

    1st : create 2 generic points with SCN1.HIT[MINVAL].X , SCN1.HIT[MINVAL].Y,SCN1.HIT[MINVAL].Z as measured values (TX,TY and TZ as theo), the same with IJK for the vector, and the same with MAXVAL for the 2nd point.
    The advantage of DPH's solution goes down (don't have to create points !), but it should work (It was the old way to find those points !)

    2nd : you should change the display of assignments (right click / display values or .... at the bottom of the window), because, if you work in another language than english, I'm not sure that "someone" translated function names (I saw it in an assignment between ""), so that "Reference ID" could be named by NOM ID or something else...

    Hope this help !

    Are you still the "seul anglais "?

    Bon week-end aussi !
Children
No Data