I want to import a series of points (x, y) in text format and I saw that you can do that with the curve function and it works but doesn't correspond to what I want to do. Indeed, the "curve" function performs what seems to me to be a spline, while I want my points to be connected by lines. In addition, I don't have access to the points, to possibly modify some of them.
Is there an option to import points of any shape defined in a text file (x, y, z values) and whose junction between points can be a straight line? The simplest example is a trapezoid defined by its 4 points.
Finally I solved my problem in a bit "brutal" way because by considering my points in a Cartesian coordinate system, with a spreadsheet, I calculated the segment lengths of the lines as well as an angle (with respect to the y-axis) and I thus transferred my segments to solidworks. It's a bit long and beastly, but it works.
The excel file with macro (above) does not work and generates errors that are difficult to correct.
Thank you for your help and if you have a more brilliant idea I'm always interested but for now I'll close my question
Sorry, in fact it was Excel that disabled the macros that I found, however after documenting the points and having SLW open as indicated, launching the macros generates an error on the line "Dim swApp As SldWorks.SldWorks" that I don't know how to solve!
In fact you used this excel file successfully? And do you know where the PB can come from, please?