0 Replies Latest reply on Jul 25, 2014 11:00 AM by David Brissenden

    Open Document Without Warnings

    David Brissenden

      Hi,

       

      I am using the following code to open a document:

       

      Set oDoc = oApp.OpenDoc6("C:\test\test.sldasm",swDocAssembly,swOpenDocOptions_Silent,strConfiguration,lError,lWarning)

       

      however on occasion SolidWorks generates a dialog:

       

      "The internal ID of document ........, which is already open, does not match the internal ID saved with the referencing document.  Select YES to accept this document anyway"

       

      I thought that the silent option would have suppressed that. 

       

      Does anyone know how I can suppress this error? 

       

      Thanks