What is the computer program most commonly used in API for SWX? Because I found API in SWX help file is written in VBA. I do not know VBA but I am learning C#.
SolidworksApi/macros
What is the computer program most commonly used in API for SWX? Because I found API in SWX help file is written in VBA. I do not know VBA but I am learning C#.
SolidworksApi/macros
The macro in SW is VBA - Visual Basic for Application.
There is a way to use C# macro. Need to do some research on that.
Then there is Add-ins. They can be written with "anything" in Visual Studio.
The API SDK has example for VB.Net and C#.
Hi Maha,
Take a look at this comparison table: Getting started: Developing applications with SOLIDWORKS API
Thanks,
Artem
Yes Maha, you can use C# for macros. Make sure VSTA is installed as a component of your SOLIDWORKS installation. Then when you record and save, or create a new macro, you will have the option for SW VSTA C# Macro (.csproj).