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