<?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 Move Feature Classes: Reproduce programmatically move drag-n-drop for Feature Classes in ArcGIS Pro? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/move-feature-classes-reproduce-programmatically/m-p/1067788#M61354</link>
    <description>&lt;P&gt;There is a Geodatabase with several Feature Datasets (FD), because a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/arcgis-pipeline-referencing-blog/lrs-information-model-update/ba-p/895432" target="_blank" rel="nofollow noopener noreferrer"&gt;requirement&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in Location referencing tools in ArcGIS Pro 2.6 and above, Feature Classes (FC) from one FD should be moved to another FD.&lt;/P&gt;&lt;P&gt;I have found several answers, like:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-questions/move-feature-class-from-dataset-a-to-dataset-b-in-database/m-p/1025627#M59896" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.esri.com/t5/python-questions/move-feature-class-from-dataset-a-to-dataset-b-in-database/m-p/1025627#M59896&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/td-p/163438" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/td-p/163438&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/317792/using-arcpy-to-move-feature-classes-to-feature-dataset" target="_blank" rel="noopener"&gt;Using ArcPy to Move Feature Classes to Feature Dataset?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The answers can be summarized on:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Drag-n-Drop from one FD to another FD&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Programmatically (Python) copy, delete, rename the FC using either:&lt;/P&gt;&lt;P&gt;a.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CopyFeatures_management&lt;/P&gt;&lt;P&gt;b.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;FeatureClassToGeodatabase_conversion&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This two programmatically options, sounds good from the point of view of the structure and content of the FC. But the underlying process is not the same as the option 1.&lt;/P&gt;&lt;P&gt;I moved a FC using Drag-n-Drop from the FD Integrity_Pub to Integrity:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JdzQ8" style="width: 387px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15975i8D931FEA6BC73C09/image-size/large?v=v2&amp;amp;px=999" role="button" title="JdzQ8" alt="JdzQ8" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Properties before moving the FC:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0RQ1b" style="width: 440px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15849i5EE5C380331E379D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0RQ1b" alt="0RQ1b" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Properties after moving the FC:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2Xd9v" style="width: 640px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15850i8A94BA29C6CB337A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2Xd9v" alt="2Xd9v" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When the FC is moved using the Option 2.b. (it is recommended&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gis.stackexchange.com/questions/317792/using-arcpy-to-move-feature-classes-to-feature-dataset" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lve8J" style="width: 640px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15851i39CF3249B517CF29/image-size/large?v=v2&amp;amp;px=999" role="button" title="lve8J" alt="lve8J" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I&lt;SPAN&gt;s there a way to move the FC, programmatically and keep the &lt;STRONG&gt;Archiving&lt;/STRONG&gt; and &lt;STRONG&gt;Versioning&lt;/STRONG&gt;? Like the Drag-n-Drop does it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jun 2021 09:32:09 GMT</pubDate>
    <dc:creator>Cristian_Galindo</dc:creator>
    <dc:date>2021-06-15T09:32:09Z</dc:date>
    <item>
      <title>Move Feature Classes: Reproduce programmatically move drag-n-drop for Feature Classes in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/python-questions/move-feature-classes-reproduce-programmatically/m-p/1067788#M61354</link>
      <description>&lt;P&gt;There is a Geodatabase with several Feature Datasets (FD), because a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/arcgis-pipeline-referencing-blog/lrs-information-model-update/ba-p/895432" target="_blank" rel="nofollow noopener noreferrer"&gt;requirement&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in Location referencing tools in ArcGIS Pro 2.6 and above, Feature Classes (FC) from one FD should be moved to another FD.&lt;/P&gt;&lt;P&gt;I have found several answers, like:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-questions/move-feature-class-from-dataset-a-to-dataset-b-in-database/m-p/1025627#M59896" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.esri.com/t5/python-questions/move-feature-class-from-dataset-a-to-dataset-b-in-database/m-p/1025627#M59896&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/td-p/163438" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/td-p/163438&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/317792/using-arcpy-to-move-feature-classes-to-feature-dataset" target="_blank" rel="noopener"&gt;Using ArcPy to Move Feature Classes to Feature Dataset?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The answers can be summarized on:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Drag-n-Drop from one FD to another FD&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Programmatically (Python) copy, delete, rename the FC using either:&lt;/P&gt;&lt;P&gt;a.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CopyFeatures_management&lt;/P&gt;&lt;P&gt;b.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;FeatureClassToGeodatabase_conversion&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This two programmatically options, sounds good from the point of view of the structure and content of the FC. But the underlying process is not the same as the option 1.&lt;/P&gt;&lt;P&gt;I moved a FC using Drag-n-Drop from the FD Integrity_Pub to Integrity:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JdzQ8" style="width: 387px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15975i8D931FEA6BC73C09/image-size/large?v=v2&amp;amp;px=999" role="button" title="JdzQ8" alt="JdzQ8" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Properties before moving the FC:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0RQ1b" style="width: 440px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15849i5EE5C380331E379D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0RQ1b" alt="0RQ1b" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Properties after moving the FC:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2Xd9v" style="width: 640px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15850i8A94BA29C6CB337A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2Xd9v" alt="2Xd9v" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When the FC is moved using the Option 2.b. (it is recommended&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gis.stackexchange.com/questions/317792/using-arcpy-to-move-feature-classes-to-feature-dataset" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lve8J" style="width: 640px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15851i39CF3249B517CF29/image-size/large?v=v2&amp;amp;px=999" role="button" title="lve8J" alt="lve8J" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I&lt;SPAN&gt;s there a way to move the FC, programmatically and keep the &lt;STRONG&gt;Archiving&lt;/STRONG&gt; and &lt;STRONG&gt;Versioning&lt;/STRONG&gt;? Like the Drag-n-Drop does it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 09:32:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/move-feature-classes-reproduce-programmatically/m-p/1067788#M61354</guid>
      <dc:creator>Cristian_Galindo</dc:creator>
      <dc:date>2021-06-15T09:32:09Z</dc:date>
    </item>
  </channel>
</rss>

