- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm working on an iLogic rule to replace components from an Assembly with components found in Vault.
So far I've gotten it to search for either top-level components or LeafOccurrences, and replace those it finds with the Vault versions.
My screenshot shows the model tree after I've run the rule, this is how far I've managed to get.
As shown in the screenshot, all the top-level parts and Subassemblies have been replaced. The Subassembly named "352135:1" is one which was not found in Vault. A copy has been made and given a Vault number, and the original part has been replaced with the copy.
I now need to figure out how to replace the parts of "352135:1" by iLogic. I have tried to replace all LeafOccurrences, but some other subassemblies contain their own subassemblies, and i want to replace those before their leaves.
All the parts of the Subassembly "352135:1" either exist in Vault and can be downloaded by search, or can be copied locally and used.
I've been at this for a few days now, and everything i try results in errors or just won't compile. Am I complicating this more than I need? If so, what can i do to get these files replaced?
As stated, I've been able to make copies and search the Vault, so the only thing i need is to access the occurrences in this specific subassembly by code, everything else I think I can handle.
Appreciate any help, thanks!
Solved! Go to Solution.