Get Cut-List item# from selected line in assembly BOM

I have a weldment that is being used in an assembly.  The BOM is Indented with Flat Numbering and a Detailed Cut List so that the weldment bodies show as parts in the assembly.  I have a macro that steps through an assembly BOM and creates a DXF for each part in the assembly, but when it gets to the weldment parts, I get a DXF of the whole part each time (which I expected it to do.)

I need a way to get the name of the Cut List Item that is being referenced on each line of the BOM, so I can find the right body in my part to DXF.

SolidworksApi macros