hexagon logo

Export XYZ points of Scan

I have a program with 8 linear open scans in which the alignment is rotating for each scan. Currently I have manually doing an Export:Generic for each alignment to capture the correct XYZ data for the 8 scans. There is approximately 350 points in each scan. Is there an easier way to do this?
Parents
  • You can write them in a text file in a loop, but its long !!!
    For each scan,
    ASSIGN/V1=SCN1.NUMHITS
    OPEN result.txt / add
    Loop from 1 to V1
    ASSIGN/V2="SCN1.HIT["+V1+"]"
    WRITE line V2.XYZ
    End loop
    close file

    I'm not at the cmm to write the right syntax, but it should work like this...
Reply
  • You can write them in a text file in a loop, but its long !!!
    For each scan,
    ASSIGN/V1=SCN1.NUMHITS
    OPEN result.txt / add
    Loop from 1 to V1
    ASSIGN/V2="SCN1.HIT["+V1+"]"
    WRITE line V2.XYZ
    End loop
    close file

    I'm not at the cmm to write the right syntax, but it should work like this...
Children
No Data