I am working on solid works and other 3d software's about 10 years. now I am interested to learn API, can any body advice me the good way to learn API software. do I need to learn any programming languages before that.
Well, here is the first macro for you:
This one rotates a model isomeric (down + left)
So it is not that hard to write a macro ...
Dim swApp As SldWorks.SldWorks
Dim model As SldWorks.ModelDoc2
Dim view As SldWorks.ModelView
Set swApp = Application.SldWorks
Set model = swApp.ActiveDoc
Set view = model.ActiveView
view.RotateAboutCenter 0.6154797086799, -0.7853981633974
You can do the tutorials of API in the SolidWorks first.
Open SolidWorks, click on HELP and in SolidWorks Tutorials, there you'll find an introduction of API.
Other way is just finding online macros and trying to understand it. A very good book you can buy is the Automating SOLIDWORKS 2015 Using Macros, or other version. SolidWorks API Support can help you.
I'm starting a video series on the API. Free feel to watch: Quick introduction to SolidWorks API - YouTube
Retrieving data ...