api set color in display state

Hi there,

I´m a Newbie in API.

Is it possible to set a color in a (new) display State?

We want to color all of our purchased parts in red, so we can select them in an assmbly. Do you any ideas? Thanks in advanceMichael

SolidworksApi/macros