If you have XYZ point in a tab delimited text file, this macro will import the data and draw straight line segments between the points and ask you to name the sketch. If your XYZ data changes, then just re-run the macro and tell it what sketch to update. The lines will move to the new points.
The main benefit of this macro is that any references connected/mated to the original data will not be lost after an update because the lines/points are moving and not being replaced or renamed.
SolidworksApi macros