AnsweredAssumed Answered

Open Document Without Warnings

Question asked by David Brissenden on Jul 25, 2014



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?