I want to work with selections in solidworks using windows form application. I need this in order to perform some selections in model and get objects and use further. Is there any way to perform such task.
It is best to do this with a property manager page.
2018 SOLIDWORKS API Help - Using PropertyManagerPage2
Specifically you can use 2018 SOLIDWORKS API Help - IPropertyManagerPageSelectionbox Interface
You can roll your own, it's not so difficult when you get the hang of it, but it's quite tedious work.
Artem Taturevych has made us an amazing framework that makes it easy - you should take a look at if you intend to do more of this kind of stuff
Creating native property pages with xCAD framework
Thank you Rob Edwards for your quick response.
Yes i am working on the same but stuck while getting data from property manager page. If you have any reference code please share with me.
I have created property page upto selections I am done now need to retrieve data from it. Please help me out.
Retrieving data ...