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


Follow The Procedure Below
-
Step 1:
first you should check the format of the text file
only x y z separated by space no headings, comas or ... -
Step 2:
open a new part
tool--> macro --> new
choose a name for it! -
Step 3:
then you will go to the programming window (usually visual basic )!
type the program below (or you can download .swp that i upload) -
Step 4:
pay attention
note1 : check the directory (location) of the file
note2: it inserted the point in meters! -
Step 5:
save the macro and go to the solidworks part window
-
Step 6:
tool-->macro-->run
-
Step 7:
select the macro you wrote
-
Step 8:
the points will be imported as below in 3Dsketch
-
Step 9:
now you can do what you want with the point!
i wanted to make surfaces that cross the points!