I am developing a c# addin for SW and am currently trying to alter the configurations of the active document in SolidWorks.
Therefore I use the SetConfigurationParams() method with the parameter values I want to update. This works fine so far, after invoking, the model you can actually see on the screen has changed correctly.
My problem is: I need to change the DesignTable as well for being able to make manual changes to it.
When the SetConfigurationParams method is called, the design table is not updated and you cannot even open the embedded excel sheet to edit it.
A workaround for that is: Save and close the current document, reopen it. There you can see the new designTable values, which have been set by the setConfigurationParams method.
Is there a way to get rid of the necessary reloading of the document and to let the design table update itself?
I'd be very thankful for your help.
Thanks in advance,