AnsweredAssumed Answered

Set Face Color and linked to "this display state"

Question asked by Li Feng on May 30, 2016

Hi Guys,

 

I am using "SetMaterialPropertyValues2" to change the selected face color, and moreover, I want gurantee that the color is linked to this display state. Just like the attached screen capture shows. How to make it ?

 

pls help to advise. many thanks .

 

       vProps = swFace.GetMaterialPropertyValues2(1, Empty)


                   
                    vProps(0) = rColor 'R
           
                    vProps(1) = gColor 'G
           
                    vProps(2) = bColor 'B


                    swFace.SetMaterialPropertyValues2 vProps, 1, Empty

 

regards

Vincent

 

2016-05-30_21-36-38.jpg

Outcomes