Community
hi,
i have a weird problem. I've attached 4 images. Shouldn't the underlined display names be the same for the first two images like the forth one? for some other part files i have those 3 the same but for this part (which was generated via content center and re-named) they are different. I've played with different names and it seems like it just hides the extension on one of them for this file. (and its the opposite for the 3rd image)
I need this for the attached ilogic code which says it can't find the file although file-occurance-display-browser (don't know if there are any other!) names are the same
thx in advance
Dim openDoc As Document openDoc = ThisDoc.Document i = New integer(){1,2,3} j = New integer(){1,2,3} Dim docFile As Document i=1001 j=10 If openDoc.DocumentType = 12291 Then For Each docFile In openDoc.AllReferencedDocuments If docFile.ComponentDefinition.BOMStructure = 51970 Then If docFile.DocumentType = 12290 Then iProperties.Value(docFile.DisplayName, "Project", "Project") = Project iProperties.Value(docFile.DisplayName, "Project", "Part Number") = Project_Code+CStr(Group_Code)+"."+Right(CStr(i),3) i=i+1 End If If docFile.DocumentType = 12291 Then iProperties.Value(docFile.DisplayName, "Project", "Project") = Project iProperties.Value(docFile.DisplayName, "Project", "Part Number") = Project_Code+CStr(Group_Code+j) j=j+1 End If End If Next End If