Hi all,
I have multiple bodies in part. When the bodies are selected by clicking on body the body entry is get added to the selection box.
The problem is that in selection box shows Solid body<1>, Solid body<2> likewise but I need to display the names of the bodies in selection box.
Thanks in advance.
You need to overwrite the OnSubmitSelection handler in the IPropertyManagerPage2Handler9, there is a byref argument of ItemText which can be changed to change the display of the item.
Alternatively you can use the Property Manager Pages made suuuuuper easy with SwEx.PMPage Framework framework, and this functionality could be achieved with this code:
-----
Thanks,
Artem
Development of advanced SOLIDWORKS add-in - YouTube