<?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: Copy Features from one feature class to another in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/copy-features-from-one-feature-class-to-another/m-p/576695#M3887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe cursors could help you?&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;searchCur &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SearchCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;inFC&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
inCur &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;InsertCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;outFC&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; Row &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; searchCur&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; inCur&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;insertRow&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Row&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 00:49:15 GMT</pubDate>
    <dc:creator>JohannesBierer</dc:creator>
    <dc:date>2021-12-12T00:49:15Z</dc:date>
    <item>
      <title>Copy Features from one feature class to another</title>
      <link>https://community.esri.com/t5/developers-questions/copy-features-from-one-feature-class-to-another/m-p/576694#M3886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two feature class source and target. Target feature class has all the columns that matches with source feature class but target feature class also has some extra fields. Total number of columns in source feature class is 5 and total number of columns in target feature class is 10. Now i want to copy(not append) all the features from source to target. The reason for copying is i want to preserve the value of GlobalID field. Can some one help me to achieve this using arcpy&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, 11 Aug 2017 09:22:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/copy-features-from-one-feature-class-to-another/m-p/576694#M3886</guid>
      <dc:creator>SurajJha1</dc:creator>
      <dc:date>2017-08-11T09:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features from one feature class to another</title>
      <link>https://community.esri.com/t5/developers-questions/copy-features-from-one-feature-class-to-another/m-p/576695#M3887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe cursors could help you?&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;searchCur &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SearchCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;inFC&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
inCur &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;InsertCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;outFC&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; Row &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; searchCur&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; inCur&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;insertRow&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Row&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:49:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/copy-features-from-one-feature-class-to-another/m-p/576695#M3887</guid>
      <dc:creator>JohannesBierer</dc:creator>
      <dc:date>2021-12-12T00:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features from one feature class to another</title>
      <link>https://community.esri.com/t5/developers-questions/copy-features-from-one-feature-class-to-another/m-p/576696#M3888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know you said you don't want to append. However, have you considered the Preserve GlobalIDs environment setting? It applies to the append GP tool. I haven't used it personally but it might help. Let me know what works for you as this is of interest to me as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/environment-settings/preserve-globalids.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/environment-settings/preserve-globalids.htm"&gt;Preserve Global IDs (Environment setting)—Geoprocessing | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Micah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 15:13:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/copy-features-from-one-feature-class-to-another/m-p/576696#M3888</guid>
      <dc:creator>MicahBabinski</dc:creator>
      <dc:date>2017-08-11T15:13:29Z</dc:date>
    </item>
  </channel>
</rss>

