<?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 Expressions for Symbology in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-expressions-for-symbology/m-p/681653#M30141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;I am just starting to play around with Arcade Expressions and am having some issues using an expression to symbolize a multipatch layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;The layer is building floor numbers (e.g., 1,2,3,4,5,6….) and is a numeric field in Pro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;I am using this expression and it works for only 1 floor:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;if ($feature.FLR_NUM == 20) return true&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;However, I can’t figure it out the correct expression for multiple floors (e.g., I want only floor numbers 10, 13, 20, and 23 to be a color). &amp;nbsp;I am getting error messages (close parenthesis expected). Or “requested operation could not be completed” even though the expression is valid.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2020 13:05:44 GMT</pubDate>
    <dc:creator>BrianE</dc:creator>
    <dc:date>2020-06-30T13:05:44Z</dc:date>
    <item>
      <title>Arcade Expressions for Symbology</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-expressions-for-symbology/m-p/681653#M30141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;I am just starting to play around with Arcade Expressions and am having some issues using an expression to symbolize a multipatch layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;The layer is building floor numbers (e.g., 1,2,3,4,5,6….) and is a numeric field in Pro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;I am using this expression and it works for only 1 floor:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;if ($feature.FLR_NUM == 20) return true&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;However, I can’t figure it out the correct expression for multiple floors (e.g., I want only floor numbers 10, 13, 20, and 23 to be a color). &amp;nbsp;I am getting error messages (close parenthesis expected). Or “requested operation could not be completed” even though the expression is valid.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 19.1px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 19.08px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2020 13:05:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-expressions-for-symbology/m-p/681653#M30141</guid>
      <dc:creator>BrianE</dc:creator>
      <dc:date>2020-06-30T13:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Expressions for Symbology</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-expressions-for-symbology/m-p/681654#M30142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/229220" target="_blank"&gt;Brian E&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use something like this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; floors &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;13&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;20&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;23&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;IndexOf&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;floors&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FLR_NUM&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
     &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Floor 10, 13, 20 or 23"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
     &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Other floors"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We start with an array with the floors you are looking for (on line 1). Then we use the IndexOf function to see if&amp;nbsp;the features floor is part of that list and return a&amp;nbsp;text to symbolize on.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:41:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-expressions-for-symbology/m-p/681654#M30142</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-12T04:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Expressions for Symbology</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-expressions-for-symbology/m-p/681655#M30143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That worked. Thanks so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2020 13:29:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-expressions-for-symbology/m-p/681655#M30143</guid>
      <dc:creator>BrianE</dc:creator>
      <dc:date>2020-06-30T13:29:27Z</dc:date>
    </item>
  </channel>
</rss>

