- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
to "crack" a content center profile in an assembly i have this ilogic routine:
Sub Main() Dim asmDoc As AssemblyDocument = ThisDoc.Document BU2Each(asmDoc) End Sub Sub BU2Each(ByVal asm As AssemblyDocument) For Each oRefDoc As Document In asm.AllReferencedDocuments If oRefDoc.DocumentType = DocumentTypeEnum.kPartDocumentObject AndAlso asm.ComponentDefinition.Occurrences.AllReferencedOccurrences(oRefDoc).Count > 0 If oRefDoc.PropertySets.PropertySetExists("ContentCenter") Try oRefDoc.ComponentDefinition.BOMQuantity.SetBaseQuantity(BOMQuantityTypeEnum.kEachBOMQuantity) Catch End Try End If End If Next End Sub
but now i want another one - with the same function - but instead of "each" there should be the variable "B_L"
can someone pls. tell me how this value needs to be??
thx in advance
TC
Solved! Go to Solution.