<?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 Run python script in process via .Net add-in in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/run-python-script-in-process-via-net-add-in/m-p/541401#M14667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating an interface in WPF that will call python scripts via the System.Diagnostics.Process method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working successfully and my scripts are completing just fine. I'm simply wondering if there is a way to call the arcgis Python instance rather than having to spawn a new one, similar to checking the 'Run Python Script in process' check box in a script's properties within arc. In doing so I hope to speed up the execution time of the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figure there may be a way to retrieve the process ID of the arcgis python instance via arcobjects, but so far have not found any documentation on the topic, can anyone provide some insight? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2014 18:58:13 GMT</pubDate>
    <dc:creator>ClintDow</dc:creator>
    <dc:date>2014-07-17T18:58:13Z</dc:date>
    <item>
      <title>Run python script in process via .Net add-in</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/run-python-script-in-process-via-net-add-in/m-p/541401#M14667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating an interface in WPF that will call python scripts via the System.Diagnostics.Process method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working successfully and my scripts are completing just fine. I'm simply wondering if there is a way to call the arcgis Python instance rather than having to spawn a new one, similar to checking the 'Run Python Script in process' check box in a script's properties within arc. In doing so I hope to speed up the execution time of the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figure there may be a way to retrieve the process ID of the arcgis python instance via arcobjects, but so far have not found any documentation on the topic, can anyone provide some insight? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 18:58:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/run-python-script-in-process-via-net-add-in/m-p/541401#M14667</guid>
      <dc:creator>ClintDow</dc:creator>
      <dc:date>2014-07-17T18:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Run python script in process via .Net add-in</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/run-python-script-in-process-via-net-add-in/m-p/541402#M14668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Documentation on leveraging ArcPy in an ArcObjects Application can be found here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Leveraging ArcPy in a .NET application&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//000100000m0s000000" title="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//000100000m0s000000"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//000100000m0s000000&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 00:27:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/run-python-script-in-process-via-net-add-in/m-p/541402#M14668</guid>
      <dc:creator>seria</dc:creator>
      <dc:date>2015-09-22T00:27:29Z</dc:date>
    </item>
  </channel>
</rss>

