Extract characteristic materials

Hello everybody,

I try to extract the materials characteristic  with the API into excel for all part of my assembly.

For the moment my program can display the name of the material for one part (Part Doc). But I can't display the name of the material for an assembly (assembly Doc).

If you have any ideas do not hesitate to contact me

SolidworksApi macros