API for Layer editing

Hello,

Can any body tell me, how to change the line style & the color for the particular layer with the help of API?

Thanks & Regards

Shrinivas Jayphalkar

SolidworksApi macros