Macro for setting part appearance

I was wondering if there is a macro existing for applying a part appearance to a part. 

I would like to apply an appearance that is in the library

Appearances   ->   Painted   ->   Car   ->   White

I know i have seen macros that you specify the RGB values for colors but i do not recall seeing anything like this. 

SolidworksApi/macros