Hi,
how do i emulate the "Configure component" command (that is accessible by RMB click an assembly component in the feature manager tree) through the API?
I want to change the referenced configurations of a component in a configuration other than the active assembly configuration. Unfortunatly Component2.ReferencedConfiguration only changes the referenced component configuration in the active assembly configuration and activating each assembly configuration is (much) too slow.
I´m using SW2019
Edit: changed the headline in to a question
Thanks
/Samuel
That's not true. Here's an assembly with two configurations:
The part has two configuration as well:
And here is the Main method from a macro:
The macro toggles the referenced config of CUBE.sldprt in each config of the assembly.
After running: