I wanted the colors to be yellow, green or red depending on the pressure on a gauge bound to a tag. I’m fine scripting it, but not sure how to script to an event of the tag value changing. Thx, Jake
Jake,
You should be able to use a binding expression on the prop style classes to change the components to a style by looking at a tag binding
if({MyTag} = 1, "Red", "")
Where MyTag is the tag you’re looking for when it is 1, and “Red” is the name of a custom style with a color “red”
-Ethan S.
perfect, thank you very much
1 Like