09-27-2023
04:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-27-2023
04:53 AM
@Andrii_Humeniuk Thank you for the help I had to tweak the code at line 67 to below to get it to not include any files that were under the reference files. Also I'm running into an error on line 45 but this only happens on some assemblies do you know what this could be from?
If oOcc.SubOccurrences IsNot Nothing Then
'If oOcc.SubOccurrences.Count <> 0 Then Call GetListComponents(oOcc.SubOccurrences, oListComp)
If oOcc.SubOccurrences.Count <> 0 Then
If oOcc.BOMStructure = BOMStructureEnum.kReferenceBOMStructure Or oOcc.Definition.BOMStructure = BOMStructureEnum.kReferenceBOMStructure Then
Else
Call GetListComponents(oOcc.SubOccurrences, oListComp)
End If
End If