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#.
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#.
solidworks C# vs VBA
VSTA and VISUAL STUDIO 2017? Possible or Impossible?
Introduction of SwEx Framework for advanced development of SOLIDWORKS add-ins
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).
Take a look at this comparison table: Getting started: Developing applications with SOLIDWORKS API
Retrieving data ...