Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
KWarrenCA
in reply to: Andrii_Humeniuk

@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?

 

kwarrenH4ZT3_0-1695815484116.png

kwarrenH4ZT3_1-1695815532228.png

 

 

 

	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