How can I get custom property text as a layer name in drawing?

I need to create a new layer for each part in assembly drawing, according to custom property name, which i have already defined in custom property.

SolidworksApi macros