Export to dwg with layers named as each part of the assembly

Hello to all,

anyone knows a macro to export to dwg with a layers named as each part of the assembly?

SolidworksApi macros