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
Retrieving data ...