AnsweredAssumed Answered

swOpenDocOptions_Silent doesn't work with suppressed components

Question asked by Mike Campbell on Jun 18, 2015
Latest reply on Jun 18, 2015 by Adam Hoffman

The snippet below works as expected with unsuppressed components but suppressed components are visible when opened. I'm looking for any explanation/solution.

 

If InStr(1, sFileNameAndPath, ".sldasm") = 0 And InStr(1, sFileNameAndPath, ".SLDASM") = 0 Then

    Set swIndividualItem = swApp.OpenDoc6(sFileNameAndPath, swDocPART, swOpenDocOptions_Silent, strRefCfg, swFileError, swFileWarning)

Else

    Set swIndividualItem = swApp.OpenDoc6(sFileNameAndPath, swDocASSEMBLY, swOpenDocOptions_Silent, strRefCfg, swFileError, swFileWarning)

End If

Outcomes