Export Feature Tree / Replicate Treehouse Excel Export

Hello,

I am trying to generate a CAD BoM / nested feature tree in Excel for a large collection of files.

The output that Treehouse produces on Export to Excel ( and 2017 What's New in SOLIDWORKS - Treehouse Improvements) is exactly what I am trying to replicate, except that Treehouse does not seem to be scriptable. (Please correct me if I am wrong. Scripting Treehouse would be the quickest fix.)

I found several close solutions, but each has some problems I am not sure how to overcome:

Could you please help me bridge this?

SolidworksApi/macros