I open assembly. Name of an active configuration of Conf1. Then I traverse assembly components for Conf2 configuration.
Configuration conf = MD.GetConfigurationByName (Conf2);
Component2 comp = (Component2) conf.GetRootComponent() ;
object ggg = conf.GetChildren ();
I add a part and traverse assembly components for Conf2 configuration. Conf2 is updated.
Then again I add a part and traverse assembly components for Conf2 configuration. Conf2 isn't updated, the part in a configuration of Conf2 is absent.
How to solve this problem?
SolidworksApi macros