0 Replies Latest reply on May 30, 2016 10:02 AM by Vincent Li

    Set Face Color and linked to "this display state"

    Vincent Li

      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