Body color convert to Face color

Hello, In Discovery, Is there any approach to convert face color from body color? I tried to change the body color initially with below then tried to move the face using the Pull tool by face color. But it seems that Discovery does not set and get face color from body color with script. I know this behavior defect but we need to use face color after getting from body color. Because, if I use default color of solid, Discovery can not get Discovery's default color. So I need to change and use the non Discovery's default color.
change the color
selection = BodySelection.Create(GetRootPart().Bodies[0])
options = SetColorOptions()
options.EdgeColorTarget = EdgeColorTarget.Undefined
options.FaceColorTarget = FaceColorTarget.Body
ColorHelper.SetColor(selection, options, Color.Green)
EndBlock
Answers
-
Any comment about this?
0 -
Maybe someone from @AKD-Scripting-Team has an idea ?
0