Tutorial-How to import points to solidworks from a text file !

If you just want to make spline with the points, you can do it without macro!
follow the procedure below:

  1. Step 1:

    the points should not be in a way that spline intersect itself and the text file for the point should contain coordinate of points as below:

  2. Step 2:

    open a new part
    from the feature tab --> curve --> curve through XYZ points

  3. Step 3:

    then click on browse and change the type of file to text files (*.txt) as below:

  4. Step 4:

    select the text file of coordinates of points

  5. Step 5:

    the points are shown in the table as below then click OK:
    the dimensions will be as the current part dimensions

  6. Step 6:

    Press "F" to fit the view
    here it is:

Comments

  • dwayne collignon
    dwayne collignon 15 Mar, 2018 09:58 AM

    i follow you instructions word for word but i keep getting the message: this file is probably invalid. do you know what is wrong?

  • Dan Nicolae Bălan
    Dan Nicolae Bălan 27 Sep, 2019 02:40 PM

    HI! Is it possible to import more airfoils from the same file? I have to make a propeller blade. I have the XYZ coordinates for 30 sections of the blade, each of them with 270 points. I need to import all the sections in the same time, from the same file. Any suggestions?