3 Replies Latest reply on Sep 1, 2015 1:37 PM by Matt Fuller

    ISwDMConfigurationMgrPtr GetConfigurationNames exception

    Dan Peacock

      Hi,

       

      Background: I'm using the SolidWorks API from C++ to extract Parasolid parts from SolidWorks files.  Everything seems to work fine with a large number of parts, but ...

       

      On one particular sldprt file I get an exception when calling GetConfigurationNames.  After doing some digging I found that GetActiveConfigurationName returns an empty string and GetConfigurationCount returns -1.

       

      Apparently when loading this particular file into SolidWorks (on a different PC) you are immediately presented with options to find features - could that be related to the problems I'm seeing?

       

      Is there something different I can / should be doing?

       

      Thanks,

       

      Dan