Using Macros in Solidworks

Hello, I need to use a .swp file in solidworks to run a macro. The problem is that I don't know how to use this kind of file, can someone guide me in the use of macros with the solidworks software?

Hello

To launch it: Tools/Macro/Run

To edit it: Tools/Macro/Edit

6 Likes

Just a clarification about @remrem's answer, for a few SW versions try to open files .dll to open the indicated links. You have to select the type of .swp files.

2 Likes

Hello

And here's SolidWorks help on working with macros:

http://help.solidworks.com/2013/french/SolidWorks/sldworks/c_recording_playing_macros.htm

 

3 Likes

You have to right-click on the menu, then select custom.

 

Then add the macro come button on the image. and inform his way.

 

 

 

 


bouton_macro.png
2 Likes

A little bit if you want to launch a macro in an easier way because you use it often you can create a button.

See the flegendre tutorial: http://www.lynkoa.com/store/fr/tutos-formations/formations/creer-un-bouton-macro-dans-solidworks.html

2 Likes

Remrem, read my post just before, that's what I said =)

1 Like

@Bart:

Sorry. I was writing my answer when you posted yours. So I hadn't seen him...

2 Likes