<?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 Getting license error when running CreateTopographicContours in stand-alone script in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/getting-license-error-when-running/m-p/1087969#M44338</link>
    <description>&lt;P&gt;We have a script basically following the one in the tool documentation to create contour lines&lt;/P&gt;&lt;P&gt;CheckOutExtension('Foundation')&lt;/P&gt;&lt;P&gt;CheckOutExtension('Foundation')&lt;/P&gt;&lt;P&gt;topographic.GenerateTopographicContours(in_rasters=DEM,&lt;BR /&gt;area_of_interest=aoi_layer,&lt;BR /&gt;contour_features=in_contours_features,&lt;BR /&gt;elevation_field='Highest Elevation',&lt;BR /&gt;contour_subtype='CA010_Elevation_Contour_Line',&lt;BR /&gt;scale='1:50,000')&lt;/P&gt;&lt;P&gt;but we are getting this error&lt;/P&gt;&lt;P&gt;arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 000824: The tool is not licensed.&lt;BR /&gt;Failed to execute (GenerateTopographicContours).&lt;/P&gt;&lt;P&gt;The parameters we pass are the same than the one we use in ArcGIS Pro where we are not getting any error and the greoprocessing run with no problems&lt;/P&gt;&lt;P&gt;Version ArcGIS Pro 2.8.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2021 16:05:46 GMT</pubDate>
    <dc:creator>JavierBelo1</dc:creator>
    <dc:date>2021-08-11T16:05:46Z</dc:date>
    <item>
      <title>Getting license error when running CreateTopographicContours in stand-alone script</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/getting-license-error-when-running/m-p/1087969#M44338</link>
      <description>&lt;P&gt;We have a script basically following the one in the tool documentation to create contour lines&lt;/P&gt;&lt;P&gt;CheckOutExtension('Foundation')&lt;/P&gt;&lt;P&gt;CheckOutExtension('Foundation')&lt;/P&gt;&lt;P&gt;topographic.GenerateTopographicContours(in_rasters=DEM,&lt;BR /&gt;area_of_interest=aoi_layer,&lt;BR /&gt;contour_features=in_contours_features,&lt;BR /&gt;elevation_field='Highest Elevation',&lt;BR /&gt;contour_subtype='CA010_Elevation_Contour_Line',&lt;BR /&gt;scale='1:50,000')&lt;/P&gt;&lt;P&gt;but we are getting this error&lt;/P&gt;&lt;P&gt;arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 000824: The tool is not licensed.&lt;BR /&gt;Failed to execute (GenerateTopographicContours).&lt;/P&gt;&lt;P&gt;The parameters we pass are the same than the one we use in ArcGIS Pro where we are not getting any error and the greoprocessing run with no problems&lt;/P&gt;&lt;P&gt;Version ArcGIS Pro 2.8.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 16:05:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/getting-license-error-when-running/m-p/1087969#M44338</guid>
      <dc:creator>JavierBelo1</dc:creator>
      <dc:date>2021-08-11T16:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting license error when running CreateTopographicContours in stand-alone script</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/getting-license-error-when-running/m-p/1087981#M44341</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/topographic-production/generate-topographic-contours.htm" target="_self"&gt;&lt;STRONG&gt;Generate Topographic Contours&lt;/STRONG&gt;&lt;/A&gt; requires ArcGIS Desktop Advanced with&amp;nbsp;&lt;SPAN&gt;Production Mapping and ArcGIS Spatial Analyst extension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Could you also CheckOut the other desired licenses?&lt;/P&gt;&lt;P&gt;Refer the following to view the right way of Checking out an extension for Concurrent-Use licenses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/checkoutextension.htm" target="_self"&gt;CheckOutExtension&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.CheckOutExtension("Foundation")
arcpy.CheckOutExtension("Spatial")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 16:41:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/getting-license-error-when-running/m-p/1087981#M44341</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-08-11T16:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting license error when running CreateTopographicContours in stand-alone script</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/getting-license-error-when-running/m-p/1088296#M44374</link>
      <description>&lt;P&gt;The extensions have been checked out correctly (and we have the correct ArcGIS Pro version). The script use other tools of Topographic Production toolbox and these work with no problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The point is the issue is generated in the stand-alone script and with the same parameters and sources it works with no problem in ArcGIS Pro&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 06:31:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/getting-license-error-when-running/m-p/1088296#M44374</guid>
      <dc:creator>JavierBelo1</dc:creator>
      <dc:date>2021-08-12T06:31:10Z</dc:date>
    </item>
  </channel>
</rss>

