Solidworks-Macro

How to import co-ordinate points from notepad to macro to draw a 3d sketch....i know its possible but i don't know how to customize this feature...i hereby attached the point table ....thanks in advance

Answer
 
Comments 0

1 Answer

Macros I don't usually bother with since it was pretty rare to get a job that I needed to repeat the same steps for.

To import a table like you show, go to:
Curves - Curve through X,Y,Z Points.
Choose Browse
Set the file type to TXT, and choose your file

A 3D curve will be made through your points. I think there is a toggle to close the curve (loop it back), or to leave it open.

Sometimes you'll have to edit the text file to have the correct formatting. The help file has some details on the proper format.

 
Comments 2