<?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 Running C# code from a python tool in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/running-c-code-from-a-python-tool/m-p/582553#M19275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on an arcpy python script that updates, inserts, and deletes rows in a dataset. I'm able to do everything I need the script to do using arcpy, except for preserving GlobalID values when copying a row from one feature class to another. It seems that I will need to use C# or VB.NET in order to preserve the GlobalIDs when I do inserts. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is found here: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000019v000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000019v000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need my python script to be able to call the C# code in the above link. Basically, my python script will perform all of the updates and deletes using an UpdateCursor, then perform the inserts using the C# code. Are there any examples of arcpy scripts or tools taking this approach? I know that writing the whole thing in C# would probably be the 'best' route, but we are trying to design an infrastructure of custom python scripts and tools for our organization.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2011 18:02:09 GMT</pubDate>
    <dc:creator>TannerSemerad</dc:creator>
    <dc:date>2011-08-25T18:02:09Z</dc:date>
    <item>
      <title>Running C# code from a python tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/running-c-code-from-a-python-tool/m-p/582553#M19275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on an arcpy python script that updates, inserts, and deletes rows in a dataset. I'm able to do everything I need the script to do using arcpy, except for preserving GlobalID values when copying a row from one feature class to another. It seems that I will need to use C# or VB.NET in order to preserve the GlobalIDs when I do inserts. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is found here: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000019v000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000019v000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need my python script to be able to call the C# code in the above link. Basically, my python script will perform all of the updates and deletes using an UpdateCursor, then perform the inserts using the C# code. Are there any examples of arcpy scripts or tools taking this approach? I know that writing the whole thing in C# would probably be the 'best' route, but we are trying to design an infrastructure of custom python scripts and tools for our organization.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 18:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/running-c-code-from-a-python-tool/m-p/582553#M19275</guid>
      <dc:creator>TannerSemerad</dc:creator>
      <dc:date>2011-08-25T18:02:09Z</dc:date>
    </item>
  </channel>
</rss>

