<?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 Rotate lines using arcade expression in Calculate Field tool in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/rotate-lines-using-arcade-expression-in-calculate/m-p/1127105#M43437</link>
    <description>&lt;P&gt;I thought this would be pretty simple using arcade but I'm getting an error when calculating a selection of features and it simple makes geometries to disappear when executing it for all features (&lt;FONT size="3"&gt;the Shape_Length attribute gets value 0&lt;/FONT&gt;).&lt;/P&gt;&lt;P&gt;The error is: &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/160001-170000/tool-errors-and-warnings-160101-160125-160107.htm" target="_self"&gt;&lt;FONT size="3"&gt;160107: Unable to update area or length field in response to shape update.&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Is there anything missing in this arcade expression?&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var paths = geometry($feature).paths;
var first_point = paths[0][0];
return Rotate($feature, 180, first_point)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;</description>
    <pubDate>Fri, 17 Dec 2021 11:36:27 GMT</pubDate>
    <dc:creator>AGP</dc:creator>
    <dc:date>2021-12-17T11:36:27Z</dc:date>
    <item>
      <title>Rotate lines using arcade expression in Calculate Field tool</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/rotate-lines-using-arcade-expression-in-calculate/m-p/1127105#M43437</link>
      <description>&lt;P&gt;I thought this would be pretty simple using arcade but I'm getting an error when calculating a selection of features and it simple makes geometries to disappear when executing it for all features (&lt;FONT size="3"&gt;the Shape_Length attribute gets value 0&lt;/FONT&gt;).&lt;/P&gt;&lt;P&gt;The error is: &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/160001-170000/tool-errors-and-warnings-160101-160125-160107.htm" target="_self"&gt;&lt;FONT size="3"&gt;160107: Unable to update area or length field in response to shape update.&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Is there anything missing in this arcade expression?&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var paths = geometry($feature).paths;
var first_point = paths[0][0];
return Rotate($feature, 180, first_point)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;</description>
      <pubDate>Fri, 17 Dec 2021 11:36:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/rotate-lines-using-arcade-expression-in-calculate/m-p/1127105#M43437</guid>
      <dc:creator>AGP</dc:creator>
      <dc:date>2021-12-17T11:36:27Z</dc:date>
    </item>
  </channel>
</rss>

