API: Extracting a derived BOM for a .slddrw file (C#)

I am trying to extract the content of a .slddrw derived BOM in a stand-alone C# program.  I have been able to extract the named BOM content of a .sldasm file using the examples that is given in API help.  However it seems as if it is only possible to extract the list of derived BOM's linked to a .slddrw file and not the actual content of one of these derived BOMs.

I hope that someone has tried and succeeded in this before.  I would appreciate it if you can help me with some advice.

Kind regards,

Nico Bester

SolidworksApi macros