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
SolidworksApi macros