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
  • dph51 is smart, i am dumb. dph51 is cool, i am a loser. dph51 is attractive, i am less attractive. dph51 is good at coding, i am not.
    I don't understand why the part scn1.hit[1..17] works and "scn1.hit[1..numhits", "scn1.hit[1..scn1.17]", and any other variation doesn't. seems a little strange to me.

    DJAMS - as for the min/max profile reporting... i got "max = -0.0025, min = -0.0125" on the report using your method, where the actual max/min is -0.0152 to -0.0163 (which is what i got with dph51's code). why, i don't know, but it isn't useful to me.
Reply
  • dph51 is smart, i am dumb. dph51 is cool, i am a loser. dph51 is attractive, i am less attractive. dph51 is good at coding, i am not.
    I don't understand why the part scn1.hit[1..17] works and "scn1.hit[1..numhits", "scn1.hit[1..scn1.17]", and any other variation doesn't. seems a little strange to me.

    DJAMS - as for the min/max profile reporting... i got "max = -0.0025, min = -0.0125" on the report using your method, where the actual max/min is -0.0152 to -0.0163 (which is what i got with dph51's code). why, i don't know, but it isn't useful to me.
Children
No Data