How to add color to a particular solidbody in a part?

Hi,

   I have a part file in which there are some solid bodies. I want to change the color of a body to be changed. I tried it with recording macro but it does not work.

Could anybody please help me?

Thanks

SolidworksApi/macros