<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Arcade code to specify fill colors in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-code-to-specify-fill-colors/m-p/1459030#M83186</link>
    <description>&lt;P&gt;I would like to be able to specify the fill colors for features using Arcade Scripting&lt;/P&gt;&lt;P&gt;For example I use this script to change color for labels&amp;nbsp;&lt;/P&gt;&lt;P&gt;var name = $feature.NAME&lt;BR /&gt;var scada = $feature.SCADA&lt;/P&gt;&lt;P&gt;var nopen = IIF($feature.NORMALP == 0, " ' ", "")&lt;BR /&gt;var ascheme = iif($feature.ASCHEME &amp;gt;"","&amp;lt;CLR green = '255'&amp;gt;" + $feature.ASCHEME + "&amp;lt;/CLR&amp;gt;","")&lt;/P&gt;&lt;P&gt;if(scada == 0){return name + nopen + ascheme;}&lt;BR /&gt;if(scada == 5){return name + "&amp;lt;CLR green = '255'&amp;gt;" + " * " + "&amp;lt;/CLR&amp;gt;"+ nopen + ascheme;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use a similar procedure to specify the fill and outline color for symbols&lt;/P&gt;&lt;P&gt;In labels we can use things like BDG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2024 16:26:07 GMT</pubDate>
    <dc:creator>RobertBorchert</dc:creator>
    <dc:date>2024-05-13T16:26:07Z</dc:date>
    <item>
      <title>Arcade code to specify fill colors</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-code-to-specify-fill-colors/m-p/1459030#M83186</link>
      <description>&lt;P&gt;I would like to be able to specify the fill colors for features using Arcade Scripting&lt;/P&gt;&lt;P&gt;For example I use this script to change color for labels&amp;nbsp;&lt;/P&gt;&lt;P&gt;var name = $feature.NAME&lt;BR /&gt;var scada = $feature.SCADA&lt;/P&gt;&lt;P&gt;var nopen = IIF($feature.NORMALP == 0, " ' ", "")&lt;BR /&gt;var ascheme = iif($feature.ASCHEME &amp;gt;"","&amp;lt;CLR green = '255'&amp;gt;" + $feature.ASCHEME + "&amp;lt;/CLR&amp;gt;","")&lt;/P&gt;&lt;P&gt;if(scada == 0){return name + nopen + ascheme;}&lt;BR /&gt;if(scada == 5){return name + "&amp;lt;CLR green = '255'&amp;gt;" + " * " + "&amp;lt;/CLR&amp;gt;"+ nopen + ascheme;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use a similar procedure to specify the fill and outline color for symbols&lt;/P&gt;&lt;P&gt;In labels we can use things like BDG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 16:26:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-code-to-specify-fill-colors/m-p/1459030#M83186</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2024-05-13T16:26:07Z</dc:date>
    </item>
  </channel>
</rss>

