Colorize

Hello

I am looking for a method how to colorize faces only to specific display state

using some APIs.

I have tried to use

Face->IGetMaterialPropertyValues2()

but it colorized every display states.

If anyone knows how to do it,  please let me know.

thanks.

SolidworksApi macros