How should I put the tag in the symbol factory of perspective?
Where should I put the tag in the props to make it color display?
For example, what should I do if I want to display it in red when the tag signal test1 is 1?
How should I put the tag in the symbol factory of perspective?
Where should I put the tag in the props to make it color display?
For example, what should I do if I want to display it in red when the tag signal test1 is 1?
I don't know of an easy way since that is using gradients. For basic shapes, see attached for an example.
SimpleIndicators.zip (3.0 KB)
I'd stay away from gradient symbols, just from a High Performance POV. If you use the 'basic' shapes, you'd bind the tag on the 'Fill' property of the element you want to change. If you expand the 'Elements' it'll expose the Fill and Stroke properties. Then Tag Bind->Transform->Map(or Script) to return the Hex or Common Color you want the object to be.
Thanks for the example!!
What should I do if I blink?
I would use perspective styles then. Those let you easily animate. Then you just set the style accordingly.
As you said, I entered the style, but there is no blink property. How should I do it?
Can you show me with an example?
There is a lot of information about dynamic colouring on the forum if you do the search, also quite a few videos on Inductive Univeristy.
Creating dynamic colors - Ignition - Inductive Automation Forum
Search results for 'dynamic color' - Inductive Automation Forum
Animated Style Classes Video at Inductive University
Dynamic Style Classes Video at Inductive University
I solved it thanks. thank you