Reordering Assembly Structured BOM by specified order VBA macro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
ive been struggling the last couple of days to get this to work.
Basically the goal is:
Assembly with multiple parts in it, every part has a user defined property "PartNumer"
Now Sort the Assembly Structured BOM by a previusly defined String Array So like
String Array: Index-PartNumber: 1-"F890", 2-"J234", 3-"G242", 4-"R454"
Unsorted AssemblyBOM: BomNumber-PartNumber: 65-"G242", 12-"R454", 23-"F890", 12-"J234"
Sorted AssemblyBOM = String Array
Using the BOMView.Renumber Method you can sort the whole bom which doesnt help me in this case.
So i thought id just pass in a single Row into BOMRowsToRenumber
so that it basically assings the correct index from the Array to the correct Part
Which i have been trying out today but every time i change the code to fix errors / compile errors some other error pops up
Hope someone can help me out on this, Thanks in advance! ^^
(Inventor 2024/2025)