{"id":65526,"date":"2026-11-25T19:15:36","date_gmt":"2026-11-25T18:15:36","guid":{"rendered":"https:\/\/amit-automation.cz\/podpora\/casto-kladene-otazky\/amit-designer-napoveda\/color-animation\/"},"modified":"2026-11-25T19:15:36","modified_gmt":"2026-11-25T18:15:36","slug":"color-animation","status":"publish","type":"napoveda","link":"https:\/\/amit-automation.cz\/en\/support\/faq\/amit-designer-help\/color-animation\/","title":{"rendered":"Color animation"},"content":{"rendered":"<p style=\"text-align: justify;\">This animation displays a certain colour when the associated tag is within an acceptable value range. You can enter multiple conditions to achieve multiple colour changes with one animation. The conditions are evaluated from top to bottom; therefore, the bottom condition has a higher priority.<\/p>\n<p style=\"text-align: justify;\">To animate colours based on a discrete (<em>Boolean<\/em>) value, set <strong>Min<\/strong> and <strong>Max<\/strong> to 1. This way, an object will change its colour when the linked tag value is equal to 1 (<em>TRUE<\/em>).<\/p>\n<h3><span style=\"color: #0084c8;\">Example<\/span><\/h3>\n<p style=\"text-align: justify;\">1. Select the object you want to animate and click on the <strong>Color <\/strong>tab in the <strong>Anim <\/strong>section\u00a0in the <em>Properties window<\/em> and then click on the <strong>\u2026<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/myDESIGNER_NEW\/Screenshot_99.jpg\" alt=\"14.7.1\" width=\"1423\" height=\"390\" \/><\/p>\n<p style=\"text-align: justify;\">2. You will see a new dialog window; click on <strong>Add<\/strong> and fill in the <strong><em>Tag<\/em><\/strong><em>, <strong>Min<\/strong><\/em>, and <strong><em>Max<\/em><\/strong> You can define multiple conditions. If the tag value is <em>0,<\/em> the object will be red; if the value is <em>1,<\/em> it will be black. Click on <strong>OK <\/strong>to confirm.<\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #0084c8;\"><strong><em>Examples of color animations: <\/em><\/strong><\/span>Buttons, Traffic lights, Fans, Valves, Motors<\/p>\n<h3><span style=\"color: #0084c8;\">Specifying the Fill and Stroke<\/span><\/h3>\n<p style=\"text-align: justify;\">For each condition (item in the table), you can specify if the condition applies to fill, stroke, or both.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_14.7.2.jpg\" alt=\"14.7.2\" width=\"280\" height=\"41\" \/><\/p>\n","protected":false},"menu_order":74,"template":"","class_list":["post-65526","napoveda","type-napoveda","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/napoveda\/65526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/napoveda"}],"about":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/types\/napoveda"}],"version-history":[{"count":0,"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/napoveda\/65526\/revisions"}],"wp:attachment":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/media?parent=65526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}