4 Replies Latest reply on Dec 7, 2018 1:12 PM by Lance B.

    Import XYZ points to 3D sketch?

    Lance B.

      Hello,

       

      I have many text files, each containing XYZ points. I need help creating a script that imports each text file as a 3D sketch with lines connecting the points.

       

      I was able to use the code from this thread to import the points as curves, but based on the way I need to generate lofted surfaces, I need to import each text file as a 3D sketch. I was able to find this thread, with code that lets you convert cell values from Excel to a 3D sketch, but I need to be able to do this without going through Excel and instead, with a text file.

       

      If not, would anyone know how to convert every imported curve into individual 3D sketches (one for each curve?) I would prefer not to do it this way as it means another step to get the sketches.

       

      Thanks in advance for the help!