<?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: XYsetVALUE not supported in ArcGis Pro in Python Snippets Questions</title>
    <link>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/1407760#M701</link>
    <description>&lt;P&gt;Hi, for some reason, this code used to work, but now is moving all points to the west African cost (see attachment). Any suggestion???&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2024 21:59:42 GMT</pubDate>
    <dc:creator>MiguelMartinezYordan</dc:creator>
    <dc:date>2024-04-09T21:59:42Z</dc:date>
    <item>
      <title>XYsetVALUE not supported in ArcGis Pro</title>
      <link>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/824593#M363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN lang="en"&gt;Hi, I was investigating on my own, but I did not get a solution.
I need to move points in a massive way to specific coordinates, 
I found a phyton code that makes it perfect in ArcMap,
but the problem is that the points are a feature service, 
and in ArcMap it is not so easy to edit, and the service is very heavy for a local copy, 
then, I thought I would do it directly in ArcGis Pro, but I get the following error:

&lt;/SPAN&gt;&lt;IMG __jive_id="420878" class="image-1 jive-image" height="432" src="https://community.esri.com/legacyfs/online/420878_pastedImage_1.png" width="277" /&gt;
&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN lang="en"&gt;some idea of how to do this process in ArcGis Pro?&lt;/SPAN&gt;&lt;/PRE&gt;Thanks!&lt;/PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/824593#M363</guid>
      <dc:creator>AdminValorInmueble</dc:creator>
      <dc:date>2021-12-12T09:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: XYsetVALUE not supported in ArcGis Pro</title>
      <link>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/824594#M364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you validate the expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2018 19:38:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/824594#M364</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-09-09T19:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: XYsetVALUE not supported in ArcGis Pro</title>
      <link>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/824595#M365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried this and it worked:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/421531_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason might be the fact that you are returning a point object when the geometry is a PointGeometry object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Block:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Move2NewLoc&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pntg&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; x&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; y&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pntg_new &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;PointGeometry&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Point&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; y&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; pntg&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;spatialReference&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; pntg_new&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:49:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/824595#M365</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-12T09:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: XYsetVALUE not supported in ArcGis Pro</title>
      <link>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/824596#M366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works perfect,&lt;/P&gt;&lt;P&gt;thank you so much, you have save my life !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 15:59:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/824596#M366</guid>
      <dc:creator>AdminValorInmueble</dc:creator>
      <dc:date>2018-09-10T15:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: XYsetVALUE not supported in ArcGis Pro</title>
      <link>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/824597#M367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome. Glad it worked. Please mark the post as the correct answer for others to find this answer easier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 16:00:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/824597#M367</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-09-10T16:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: XYsetVALUE not supported in ArcGis Pro</title>
      <link>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/1407760#M701</link>
      <description>&lt;P&gt;Hi, for some reason, this code used to work, but now is moving all points to the west African cost (see attachment). Any suggestion???&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 21:59:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/xysetvalue-not-supported-in-arcgis-pro/m-p/1407760#M701</guid>
      <dc:creator>MiguelMartinezYordan</dc:creator>
      <dc:date>2024-04-09T21:59:42Z</dc:date>
    </item>
  </channel>
</rss>

