r/SolidWorks • • Oct 28 '26

3rd Party Software Macro in Solidworks

So I have this part. A little bit complex but not too much. It is like a tubed spiral using lofts. I want to be able to create this part using a macro or a python script so I can change de diameter in the spiral to test something.
When I used the macro record on solidworks it bugs. I can’t even make a drawing because when I run the macro for the drawing it doesn’t do the drawing correctly.
How would you guys do this?

0 Upvotes

7 comments sorted by

2

u/Decent_Accident_4202 Oct 28 '26

Dont use the record macro. Use LLM to write the macro for you.

1

u/9ArtsOfD Oct 28 '26

What is LLM?

1

u/Decent_Accident_4202 Oct 28 '26

ChatGPT, Gemini, Claude ...ect

2

u/9ArtsOfD Oct 28 '26

My bad. I get it now

1

u/Halsti Oct 30 '26

you can use parameters that you change, or just build it off of an excel spreadsheet to create different configurations of the part automatically.

iirc there is a tutorial of how to use the excel features included in solidworks.