<?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: Copying exact record in another feature class while creating the record in a feature class using ArcPy....  in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660265#M29261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you are currently doing?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/editing/copy-and-paste-using-the-clipboard.htm" title="https://pro.arcgis.com/en/pro-app/help/editing/copy-and-paste-using-the-clipboard.htm"&gt;Copy and paste features using the clipboard—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are you trying to automate copying features from an existing featureclass?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy-features.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy-features.htm"&gt;Copy Features (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any event, how are you doing the selection, given you indicate you have lots to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2020 02:00:47 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2020-10-16T02:00:47Z</dc:date>
    <item>
      <title>Copying exact record in another feature class while creating the record in a feature class using ArcPy....</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660264#M29260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a feature in a feature class, and want to automate the same record creation at the same time in another feature class using ArcPy scripting. Is there any way to do it? I can do it manually using "Paste Special", but it does not help when you have thousands of records. Great to have your expert suggestion. Please share any sample (Python or Arcade) script if you have faced this challenge, and solved it. Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 01:23:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660264#M29260</guid>
      <dc:creator>ShahriarRahman</dc:creator>
      <dc:date>2020-10-16T01:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using ArcPy....</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660265#M29261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you are currently doing?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/editing/copy-and-paste-using-the-clipboard.htm" title="https://pro.arcgis.com/en/pro-app/help/editing/copy-and-paste-using-the-clipboard.htm"&gt;Copy and paste features using the clipboard—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are you trying to automate copying features from an existing featureclass?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy-features.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy-features.htm"&gt;Copy Features (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any event, how are you doing the selection, given you indicate you have lots to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 02:00:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660265#M29261</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-10-16T02:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using ArcPy....</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660266#M29262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Dan. Thank you for your reply. Yes, I am doing both tasks together, and want to do it through ArcPy without opening the feature class that I want to add into. Like, If I am drawing something in "Water" layer, I want to copy the same record to "All_Water" feature class without opening the "All_Water" feature class, and it will populate description from one attribute (of "Water") to "All_Water" feature class. Is it possible to automate these tasks in an ArcPy script? Great if you please can share something similar. &lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Shahriar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 02:09:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660266#M29262</guid>
      <dc:creator>ShahriarRahman</dc:creator>
      <dc:date>2020-10-16T02:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using ArcPy....</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660267#M29263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't recommend doing what I think you are doing, because it can rapidly propagate errors which you will want to undo, and doing this over many featureclasses will be ... shall we say .... less than an enjoyable experience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead I would recommend finishing drawing your "Water" layer and making sure its records (geometry and attributes ) are to your satisfaction.&amp;nbsp; Then check again, because you are about to add "the stuff" to existing data, which presumably is good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once all is good, then you use either Append or Merge from the General toolset&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/an-overview-of-the-general-toolset.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/an-overview-of-the-general-toolset.htm"&gt;An overview of the General toolset—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My preference would be to &lt;STRONG&gt;merge&lt;/STRONG&gt; since the original datasets are preserved and new ones are created... You can always go back, unlike Append which can add stuff that you find you want to correct later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merging to may featureclasses is possible by calling the script in arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it... the workflow can be exported to a script and it will serve as the basis for something that you want to automate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Storage space is cheap.&amp;nbsp; Unraveling to a point in time where things were good, is definitely not, and it may never be attained.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 02:21:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660267#M29263</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-10-16T02:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using ArcPy....</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660268#M29264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, @Dan Patterson. Thank you for your kind suggestion. I appreciate it, but at this moment, I need to do this at the same time to minimise the production time. As I want to link (from "Water" to "All_Water") based on a common identifier, it will not create any attribute error. Great if you please can share some similar scripts or references.&lt;BR /&gt;&lt;BR /&gt;Thanking you,&lt;BR /&gt;&lt;BR /&gt;Shahriar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 02:49:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660268#M29264</guid>
      <dc:creator>ShahriarRahman</dc:creator>
      <dc:date>2020-10-16T02:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using ArcPy....</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660269#M29265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;common identifiers are "joins", but they don't transfer geometry, only attributes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 03:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660269#M29265</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-10-16T03:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using ArcPy....</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660270#M29266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/282960"&gt;Shahriar Rahman&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your data resides in an enterprise geodatabase, your best option is using a Calculation Attribute Rule. This could do this automatically on creating.&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/calculation-attribute-rules.htm" title="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/calculation-attribute-rules.htm"&gt;Calculation attribute rules—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2291"&gt;Attribute Rules&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2020 20:50:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660270#M29266</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-10-19T20:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using ArcPy....</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660271#M29267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to create the same record to both of the spatial layers. I am not sure we can do it through Arcade, but if you have any ArcPy example/sample it will be great! &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt; @Dan Patterson&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you both for your suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2020 23:16:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660271#M29267</guid>
      <dc:creator>ShahriarRahman</dc:creator>
      <dc:date>2020-10-22T23:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using ArcPy....</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660272#M29268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/282960"&gt;Shahriar Rahman&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before jumping into code&amp;nbsp;examples it might be good to understand the "why" you have to do what you are trying to do. So if you can elaborate on that, it would be great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the "when" and how often something should happen is also important. If directly after creating a new feature or updating an exiting feature a trigger should propagate that change into the other featureclass, this will have a large influence on the right solution. Maybe replicas would be the way to achieve this&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/geodatabase-replication-fundamentals.htm" title="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/geodatabase-replication-fundamentals.htm"&gt;Geodatabase replication fundamentals—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp; or otherwise Calculation Attribute Rules as I mentioned before:&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/calculation-attribute-rules.htm" title="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/calculation-attribute-rules.htm"&gt;Calculation attribute rules—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;using the triggers Insert, Update and perhaps even Delete depending your requirements.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a script to reflect the changes into the other featureclass is an option, however, when should it run and how will it detect the changes to propagate into the other featureclass? You will want to avoid a full scan of the data and compare everything since this will become slow when the volume of data rises. Also, a script will not automatically trigger when you edit the data in one featureclass and will need to be started somehow.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2020 13:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660272#M29268</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-10-23T13:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using ArcPy....</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660273#M29269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The story is two vector layers are related. One layer (Roads_All) is a summary of many road layers (e.g., Local Roads, Collector Roads, Distributor Roads, Sub-Arterial and Arterial Roads). It is very challenging to work on many individual road layers (and the data are intermittent) and then append it into the base layer (here, Roads_All). I want to simplify the task in a single step (so I don't need to append it after adding one or two records). &lt;/P&gt;&lt;P&gt;Is it possible to do it through ArcPy script, like while saving the edits, it will also append to the base layer? Sorry, but I am not sure is it doable or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:53:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660273#M29269</guid>
      <dc:creator>ShahriarRahman</dc:creator>
      <dc:date>2020-10-23T14:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using ArcPy....</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660274#M29270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/282960"&gt;Shahriar Rahman&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the process is that you have another source featureclass and you need to append it to two output featureclasses, you can simply use modelbuilder&amp;nbsp;and append the single source featureclass to the two output featureclasses and use it in a single tool.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you update featureclass one by manual editing and want the changes to be reflected in the Roads_All, this would require the new&amp;nbsp;features to be identified and add the selection to the Roads_All featureclass. In case you also want to account for updates of deletes of existing features and have those changes reflected in the Roads_All featureclass, it will become more complicated.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2020 17:24:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/660274#M29270</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-10-23T17:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/1001635#M34292</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108"&gt;@XanderBakker&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I have come up with a solution to the task I wanted to accomplish, but the script is taking around 5 minutes to do perform the task(s). I need to minimise the time of processing, great to have your expert suggestion if I can reduce the processing time,&lt;/P&gt;&lt;P&gt;......................................................................&lt;/P&gt;&lt;P&gt;for m in aprx.listMaps():&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for layer in aprx.activeMap.listLayers():&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(layer.name[0:12]=="CGD.PARCELS_" and layer.getSelectionSet()):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.management.Append(layer, "BASEDATA", "NO_TEST")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByLocation_management("BASEDATA","ARE_IDENTICAL_TO",layer)&lt;/P&gt;&lt;P&gt;........................................................................&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 02:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/1001635#M34292</guid>
      <dc:creator>ShahriarRahman</dc:creator>
      <dc:date>2020-11-16T02:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Copying exact record in another feature class while creating the record in a feature class using</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/1002124#M34336</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/295203"&gt;@ShahriarRahman&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first thing I see, is the outer loop where you loop through each map in your project (how many do you have) and for each map take the same active map.&lt;/P&gt;&lt;P&gt;I keep thinking that the cleanest solution would be to use an attribute rule that is triggered when a new feature is inserted and copies it to the other featureclass. However, you should also take care of any deletes and updates so that these changes are reflected in the other featureclass.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 13:35:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copying-exact-record-in-another-feature-class/m-p/1002124#M34336</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-11-17T13:35:57Z</dc:date>
    </item>
  </channel>
</rss>

