are the API examples no longer available? https://forum.solidworks.com/community/solidworks/api?view=documents
Page link results in a not found error? The link to it is on the Download menu on the customer portal.
Here in the Forums, select API from the Spaces/Groups drop down. There will be a link on the left side of the page to the API examples.
Here is the link : API Examples
Retrieving data ...