<?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 Re: IIF expression for attribute assistant in 3D Mapping Questions</title>
    <link>https://community.esri.com/t5/3d-mapping-questions/iif-expression-for-attribute-assistant/m-p/731443#M21</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to figure out what I was doing wrong. I wanted to be able to get the direction of the main to figure out the downstream invert of a manhole to auto-populate the downstream invert of my main. To&amp;nbsp;do this I added a couple of fields to store the angle and the heading.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MainHeading&lt;/STRONG&gt; to store the Angle&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DSHeading&amp;nbsp;&lt;/STRONG&gt;to store the Flow Direction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ended up using this as my expression to store the Direction of flow in the DSHeading Field.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;TABLE height="5" width="2816"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 2808px;"&gt;IIF([MainHeading]&amp;lt;=22.5, "S", IIF([MainHeading]&amp;lt;=67.5, "SW", IIF([MainHeading]&amp;lt;=112.5, "W", IIF([MainHeading]&amp;lt;=157.5, "NW", IIF([MainHeading]&amp;lt;=202.5, "N", IIF([MainHeading]&amp;lt;=247.5, "NE", IIF([MainHeading]&amp;lt;=292.5, "E", IIF([MainHeading]&amp;lt;=337.5, "SE", IIF([MainHeading]&amp;lt;=360, "S", "&amp;lt;Null&amp;gt;")))))))))&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jun 2019 17:34:07 GMT</pubDate>
    <dc:creator>BrianHumphries1</dc:creator>
    <dc:date>2019-06-04T17:34:07Z</dc:date>
    <item>
      <title>IIF expression for attribute assistant</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/iif-expression-for-attribute-assistant/m-p/731441#M19</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to calculate a field using the&amp;nbsp;attribute assistant using the Dynamic Value table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to check the &lt;STRONG&gt;MainHeading&lt;/STRONG&gt; Field and if the value of the field falls in between two values Calculate Yes or NO&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the value is between 166 and 195 I want the field to be populated with a &lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If the value is not between those values I want to field the populated with a &lt;STRONG&gt;NO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;Below is the what I have tried, but I keep getting the same results as &lt;/SPAN&gt;&lt;SPAN style="font-weight: 400;"&gt;&lt;STRONG&gt;YES&lt;/STRONG&gt;&amp;nbsp;for all values even the ones that are not in between the 166 and 195 range.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;IIF([MainHeading] &amp;gt;= 166 &amp;amp; [MainHeading] &amp;lt;=195, "YES", "NO")&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure I have something wrong but I cannot figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know someone on here can solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2019 17:17:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/iif-expression-for-attribute-assistant/m-p/731441#M19</guid>
      <dc:creator>BrianHumphries1</dc:creator>
      <dc:date>2019-05-31T17:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: IIF expression for attribute assistant</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/iif-expression-for-attribute-assistant/m-p/731442#M20</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is mainheading an integer, double, or string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a double&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;IIF([MainHeading] &amp;gt;= 166&lt;STRONG&gt;.0&lt;/STRONG&gt; &amp;amp; [MainHeading] &amp;lt;=195&lt;STRONG&gt;.0&lt;/STRONG&gt;, "YES", "NO")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp;if it is a string&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;IIF([MainHeading] &amp;gt;= &lt;STRONG&gt;"&lt;/STRONG&gt;166&lt;STRONG&gt;"&lt;/STRONG&gt; &amp;amp; [MainHeading] &amp;lt;=&lt;STRONG&gt;"&lt;/STRONG&gt;195&lt;STRONG&gt;"&lt;/STRONG&gt;, "YES", "NO")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;Are any of the Mainheadings &amp;lt;Null&amp;gt;&amp;nbsp; if so try putting something in there&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;Now the dumb question:&amp;nbsp; Do you have any values less than 166 and or greater than 195&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2019 20:12:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/iif-expression-for-attribute-assistant/m-p/731442#M20</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-05-31T20:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: IIF expression for attribute assistant</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/iif-expression-for-attribute-assistant/m-p/731443#M21</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to figure out what I was doing wrong. I wanted to be able to get the direction of the main to figure out the downstream invert of a manhole to auto-populate the downstream invert of my main. To&amp;nbsp;do this I added a couple of fields to store the angle and the heading.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MainHeading&lt;/STRONG&gt; to store the Angle&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DSHeading&amp;nbsp;&lt;/STRONG&gt;to store the Flow Direction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ended up using this as my expression to store the Direction of flow in the DSHeading Field.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;TABLE height="5" width="2816"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 2808px;"&gt;IIF([MainHeading]&amp;lt;=22.5, "S", IIF([MainHeading]&amp;lt;=67.5, "SW", IIF([MainHeading]&amp;lt;=112.5, "W", IIF([MainHeading]&amp;lt;=157.5, "NW", IIF([MainHeading]&amp;lt;=202.5, "N", IIF([MainHeading]&amp;lt;=247.5, "NE", IIF([MainHeading]&amp;lt;=292.5, "E", IIF([MainHeading]&amp;lt;=337.5, "SE", IIF([MainHeading]&amp;lt;=360, "S", "&amp;lt;Null&amp;gt;")))))))))&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2019 17:34:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/iif-expression-for-attribute-assistant/m-p/731443#M21</guid>
      <dc:creator>BrianHumphries1</dc:creator>
      <dc:date>2019-06-04T17:34:07Z</dc:date>
    </item>
  </channel>
</rss>

