iLogic to Export BOM from Assembly and each subassembly to basic Excel template?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Ideally this would be done from the top level .iam or associated .idw file.
What I'm interested in doing is starting there, at the top level assembly, running the rule, and getting as a result prompted for where to save the file and with what filename. The file would contain one tab for the top level assembly and each subassembly under that, and each subassembly under that; basically for every .iam contained within and including the top-level .iam.
Each tab would be formatted identically with item number, qty, description, part number (sorted by item number, first with letters and then numbers); underneath a banner that confirms the assembly number and description. Ideally, the tabs themselves would be named with their assembly's drawing number as well. In my applications, there could be in the neighborhood of 50 tabs.
Is this something iLogic is capable of doing? I've done some basic iLogic, but nothing that leverages Excel so heavily or looks into BOMs. This would be an enormous saver if it's possible. I've tried copying snippets that I've found regarding BOMs, but literally everything throws one error or another, and at that point I don't know if I'm repairing code or writing from scratch.
I should mention, currently Inventor Professional 2015, soon to be 2018.