SOLIDWORKS API
Help
Run SOLIDWORKS Macro
Opens a dialog that lets you select the macro that you want to run.
To run a macro:
- SOLIDWORKS 2018 offers Visual
Studio Tools for Applications (VSTA).
-
Click Run Macro
on the Macro toolbar, or click Tools
> Macro > Run.
In the dialog, locate the macro (.swp
or .dll) file
that you want to run and click Open.
You can also assign SOLIDWORKS macros
to toolbar buttons.