+1

Automatic Indexing for Logic Functions when using Paste with Pattern

Anthony Fotion 7 years ago in Metrology Software / PC-DMIS updated by neil kay 4 years ago 1

This once seems simple but I have yet to find a work around. I am trying to extract data points from MANY scan sets and utilize paste with pattern to do so.


Unfortunately when trying to use this, paste with pattern will auto index everything EXCEPT the bold area, it will stay at SCN1 instead of 1, 2, 3 ect. like everything around it. Not sure why, and I am not sure if there is a way around it, if paste with pattern is not capable to do this I think it should be.

Thanks!

ASSIGN/HITN = MAXINDEX(SCN1.HIT[1..SCN1.NUMHITS].X)

ASSIGN/HITN = MAXINDEX(SCN1.HIT[1..SCN1.NUMHITS].X) 
ASSIGN/MAXVAL = SCN1.HIT[HITN].X
F1 =GENERIC/POINT,DEPENDENT,RECT,$
NOM/XYZ,SCN1.HIT[HITN].TX,SCN1.HIT[HITN].TY,SCN1.HIT[HITN].TZ,$
MEAS/XYZ,SCN1.HIT[HITN].X,SCN1.HIT[HITN].Y,SCN1.HIT[HITN].Z,$
NOM/IJK,0,0,1,$
MEAS/IJK,0,0,1

Solved with "Pointer" Logic but still would be nice to have an easier way.