<?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 Use python script tool from NET Arcgis Pro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/use-python-script-tool-from-net-arcgis-pro/m-p/247518#M10932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to execute a python script with a button created in AGP for SDK in Visual Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the sample&amp;nbsp;"CallScriptFromNet" to create a button that execute python script:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Geoprocessing/CallScriptFromNet" title="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Geoprocessing/CallScriptFromNet"&gt;arcgis-pro-sdk-community-samples/Geoprocessing/CallScriptFromNet at master · Esri/arcgis-pro-sdk-community-samples · Git…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Python script is basic and just create a field to a point layer.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I would like the button to work when the point layer is displayed in the environment. However, when this is the case, I get the error 000464 :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-00451-00475-000464.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-00451-00475-000464.htm"&gt;000464: Cannot get exclusive schema lock. Either being edited or in use by another application.—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="445" src="https://community.esri.com/legacyfs/online/442153_pastedImage_1.png" width="375" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the button works when the point layer is not displayed in the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is it possible to get rid of this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any idea about this problem I be glad to hear about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gauthier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Apr 2019 10:06:32 GMT</pubDate>
    <dc:creator>gauthierverlin</dc:creator>
    <dc:date>2019-04-16T10:06:32Z</dc:date>
    <item>
      <title>Use python script tool from NET Arcgis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/use-python-script-tool-from-net-arcgis-pro/m-p/247518#M10932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to execute a python script with a button created in AGP for SDK in Visual Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the sample&amp;nbsp;"CallScriptFromNet" to create a button that execute python script:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Geoprocessing/CallScriptFromNet" title="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Geoprocessing/CallScriptFromNet"&gt;arcgis-pro-sdk-community-samples/Geoprocessing/CallScriptFromNet at master · Esri/arcgis-pro-sdk-community-samples · Git…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Python script is basic and just create a field to a point layer.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I would like the button to work when the point layer is displayed in the environment. However, when this is the case, I get the error 000464 :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-00451-00475-000464.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-00451-00475-000464.htm"&gt;000464: Cannot get exclusive schema lock. Either being edited or in use by another application.—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="445" src="https://community.esri.com/legacyfs/online/442153_pastedImage_1.png" width="375" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the button works when the point layer is not displayed in the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is it possible to get rid of this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any idea about this problem I be glad to hear about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gauthier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 10:06:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/use-python-script-tool-from-net-arcgis-pro/m-p/247518#M10932</guid>
      <dc:creator>gauthierverlin</dc:creator>
      <dc:date>2019-04-16T10:06:32Z</dc:date>
    </item>
  </channel>
</rss>

