User form

Hello everyone,

i need help to create a form which will allow me to select edge vertex from drawing view and  get that selected object for further work.

I tried it lot but i am not getting proper way to do this in visual studio.  All i am able to do is in vb editor but i want to create it in Visual studio IDE.

If anyone know this please help me out. Thanks in advance for your help.

SolidworksApi/macros
Answers 2
AT
AT 2021-03-26 Best Answer

I would recommend you to use Selection Box in the Property Manager page instead of a popup form. You can use xCAD to make it simpler: Selection box control in SOLIDWORKS Property Page with xCAD framework or take a look at this example: Form Selection Box

DD
DD 2021-03-26

Thank you. I will check.