How do I control the color of a body with parameter or rule?
How do I control the color of a body with parameter or rule?
(OP)
I'm wondering how to control the color of a body with a parameter or a rule using knowledgeware. Thanks in advance!





RE: How do I control the color of a body with parameter or rule?
RE: How do I control the color of a body with parameter or rule?
Rule is the easiest, create a string parameter with multiple values (the different colors you want to set). Create a rule with if statements to set the color, see pic.
RE: How do I control the color of a body with parameter or rule?
You can also use the RBG
Body .Color = "128,0,255"
or the Hex code
Body .Color = "#a0522d"
search color palette in the help for a code listing or you can obtain the color rgb from the custom color palette.
Win XP64
R20/21, 3DVIA Composer 2012, ST R20
Dell T7400 16GB Ram
Quadro FX 4800 - 1.5GB
RE: How do I control the color of a body with parameter or rule?