hexagon logo

manipulating arrays question

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?
Parents
  • my original code had a mistake. It should be as below.


    ASSIGN/VAR1=DOT((SCN1.HIT[1..scn1.numhits].XYZ-SCN1.HIT[1..scn1.numhits].TXYZ),SCN1.HIT[1..scn1.numhits].TIJK)


    Improper syntax [1..numhits] (PCDMIS evaluates that variable numhits as 0) (unless it was assigned a value)
    Proper syntax. [1..scn1.numhits]. (PCDMIS knows the value of numhits from scn1)

    Tired eyes see things incorrectly. Sorry about that. Hope this helps.
Reply
  • my original code had a mistake. It should be as below.


    ASSIGN/VAR1=DOT((SCN1.HIT[1..scn1.numhits].XYZ-SCN1.HIT[1..scn1.numhits].TXYZ),SCN1.HIT[1..scn1.numhits].TIJK)


    Improper syntax [1..numhits] (PCDMIS evaluates that variable numhits as 0) (unless it was assigned a value)
    Proper syntax. [1..scn1.numhits]. (PCDMIS knows the value of numhits from scn1)

    Tired eyes see things incorrectly. Sorry about that. Hope this helps.
Children
No Data