im first to use api andwho can tell me what it is wrong，thanks。 it can not work
What's the error message?
What language are your writing this in VBA, VB.net, C, etc.
The syntax is different in vb.net (I do not program in it). Also Add2 went obsolete in SW2014; replaced by Add3 (which I like). There is also an example in API help for using Add3; search for "Get Custom Properties for Configuration Example (VB.NET)" or look up Add3 and click on VB.Net example.
I installed SolidWorks 2015 api sdk but i can not find it in visual studio 2015
You need to add a reference to SolidWorks.Interop.sldworks and add the statement Imports SolidWorks.Interop.sldworks at the top of your code.
Right on Michael Dekoning
Retrieving data ...