AnsweredAssumed Answered

How to get option selected

Question asked by Eric Snyder on Jan 29, 2020
Latest reply on Feb 3, 2020 by Eric Snyder

Using the example from the Solidworks AddIn template.


They create a Property Manager Page (UserPMPage.cs) and show how to display the page. What seems to be missing is how to handle when the page is either canceled or accepted (green checkmark). 


What I am interested in is how to detect if the user canceled the operation or accepted the operation and how to get the values of what was selected. In a C# Windows app (IIRC) you add the options in a groupbox and get the values from there. There does not seem to be any way to get which option was checked except by iterating all the options and examine each one.


How does the property manager page:

  1. Handle if it was canceled or not.
  2. Retrieving the values of the controls if they were used.