change color of face

How do I use the api to change color of faces?

Sam

SolidworksApi macros