<?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 3D Basemaps Solution running outside of ArcGIS in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/3d-basemaps-solution-running-outside-of-arcgis/m-p/200115#M8880</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 would like to run the tool Extract Roof Form in Jupyter Notebook, but since the city is divided in several parts, it would be nice to send the data into a 'for' loop. When I am trying to import the CreateBuildings toolbox, I am getting the following errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;NameError&lt;/SPAN&gt;: name 'Nil' is not defined&lt;/P&gt;&lt;PRE style="border: 0px; margin: 0px;"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;IndexError&lt;/SPAN&gt;: list index out of range&lt;/PRE&gt;&lt;P&gt;However, at the end, it seems like the toolbox is imported:&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&amp;lt;module 'CreateBuildings'&amp;gt;&lt;/PRE&gt;&lt;P&gt;Then I tried to run the tool and I got the following error:&amp;nbsp;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="background-color: #ffffff;"&gt;&lt;DIV class="" style="padding: 0.4em;"&gt;&lt;PRE style="color: black; background-color: transparent; border: 0px; font-size: inherit; padding: 1px 0px;"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;OSError&lt;/SPAN&gt;                                   Traceback (most recent call last)&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;~\Documents\ArcGIS\Packages\3Dbasemaps_8ee4ba\p20\extract_roof_form_tbx.py&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;      2&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;from&lt;/SPAN&gt; scripts &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;import&lt;/SPAN&gt; extract_roof_form&lt;SPAN class="" style="color: #00a250;"&gt;      3&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;----&amp;gt; 4&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt; &lt;/SPAN&gt;aprx &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;mp&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;ArcGISProject&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;"CURRENT"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;      5&lt;/SPAN&gt; home_directory &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; aprx&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;homeFolder&lt;SPAN class="" style="color: #00a250;"&gt;      6&lt;/SPAN&gt; project_ws &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; aprx&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;defaultGeodatabase &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_mp.py&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;__init__&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;(self, aprx_path)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    335&lt;/SPAN&gt;            A string that includes the full system path and file name of an existing ArcGIS project ( .aprx ) or a string that contains the CURRENT keyword."""&lt;SPAN class="" style="color: #00a250;"&gt;    336&lt;/SPAN&gt;         &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;import&lt;/SPAN&gt; arcgisscripting&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;--&amp;gt; 337&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;         &lt;/SPAN&gt;self&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_arc_object &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; arcgisscripting&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_mapping&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;ArcGISProject&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;*&lt;/SPAN&gt;gp_fixargs&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;aprx_path&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;True&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    338&lt;/SPAN&gt; &lt;SPAN class="" style="color: #00a250;"&gt;    339&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;class&lt;/SPAN&gt; Bookmark&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;_ObjectWithoutInitCall&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;OSError&lt;/SPAN&gt;: CURRENT &lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" style="background-color: #ffffff;"&gt;&lt;DIV class="" style="padding: 0px 0.4em;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="padding: 0.4em;"&gt;&lt;PRE style="color: black; background-color: transparent; border: 0px; font-size: inherit; padding: 1px 0px;"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;ExecuteError&lt;/SPAN&gt;                              Traceback (most recent call last)&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;&amp;lt;ipython-input-7-3a4f66b71178&amp;gt;&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;      7&lt;/SPAN&gt;                                       &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #258f8f; font-weight: bold;"&gt;0.05&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;      8&lt;/SPAN&gt;                                       &lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;"blds_bosonohy_footprint"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;----&amp;gt; 9&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;                                       False)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;~\Documents\ArcGIS\Packages\3Dbasemaps_8ee4ba\p20\CreateBuildings.tbx&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;ExtractRoofForm&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;(Buildings, DSM, DTM, nDSM, Create_Flat_Roofs_Only, Minimum_Flat_Roof_Area, Minimum_Slope_Roof_Area, Minimum_Roof_Height, Output_Building_Polygons, Simplify_Buildings, Simplify_Tolerance, first_time, previous_layer, first_time_dsm)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    159&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    160&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;i&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;f&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;V&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;C&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;S&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;--&amp;gt; 161&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;c&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;_&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;v&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;c&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;_&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;n&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;a&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;m&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;V&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;C&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;S&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;n&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;a&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;m&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    162&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    163&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;f&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;a&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;i&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;l&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;d&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;F&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;a&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;l&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;~\Documents\ArcGIS\Packages\3Dbasemaps_8ee4ba\p20\CreateBuildings.tbx&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;ExtractRoofForm&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;(Buildings, DSM, DTM, nDSM, Create_Flat_Roofs_Only, Minimum_Flat_Roof_Area, Minimum_Slope_Roof_Area, Minimum_Roof_Height, Output_Building_Polygons, Simplify_Buildings, Simplify_Tolerance, first_time, previous_layer, first_time_dsm)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    156&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;p&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;o&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;j&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;c&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;t&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;d&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;T&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;u&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    157&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;l&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;--&amp;gt; 158&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;p&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;o&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;j&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;c&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;t&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;d&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;F&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;a&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;l&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    159&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    160&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;i&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;f&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;V&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;C&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;S&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;&amp;lt;lambda&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;(*args)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    509&lt;/SPAN&gt;         val &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; getattr&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;self&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_gp&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; attr&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    510&lt;/SPAN&gt;         &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;if&lt;/SPAN&gt; callable&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;val&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;--&amp;gt; 511&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;             &lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;return&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;lambda&lt;/SPAN&gt; &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;*&lt;/SPAN&gt;args&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt; val&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;*&lt;/SPAN&gt;gp_fixargs&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;args&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;True&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    512&lt;/SPAN&gt;         &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;else&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    513&lt;/SPAN&gt;             &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;return&lt;/SPAN&gt; convertArcObjectToPythonObject&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;val&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;ExecuteError&lt;/SPAN&gt;: ERROR 000582: Error occurred during execution.&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/PRE&gt;&lt;P&gt;From the message I didn't find a solution for my problem. When I run the tool in ArcGIS Pro everything is okay. I tried to set up task schedule for the areas, but I got the same error as in Jupyter Notebook:&lt;/P&gt;&lt;PRE class="" style="color: #d1d1d1; background-color: #242424; font-size: 12.96px; padding: 0px 0px 0.25rem;"&gt;&lt;SPAN class="" style="color: #d1d1d1; background-color: #242424; margin: 0px 4px 0px 0px; padding: 0px 0px 0.25rem;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d1d1d1; background-color: #242424; text-decoration: none; padding: 0px 0px 0.25rem;"&gt;Traceback (most recent call last):   File "C:\Users\tcernak\Documents\ArcGIS\Packages\3Dbasemaps_8ee4ba\p20\extract_roof_form_tbx.py", line 4, in &amp;lt;module&amp;gt;     aprx = arcpy.mp.ArcGISProject("CURRENT")   File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_mp.py", line 337, in __init__     self._arc_object = arcgisscripting._mapping.ArcGISProject(*gp_fixargs((aprx_path,), True)) OSError: CURRENT&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="" style="color: #d1d1d1; background-color: #242424; font-size: 12.96px; padding: 0px 0px 0.25rem;"&gt;&lt;SPAN class="" style="color: #d1d1d1; background-color: #242424; margin: 0px 4px 0px 0px; padding: 0px 0px 0.25rem;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d1d1d1; background-color: #242424; text-decoration: none; padding: 0px 0px 0.25rem;"&gt;Failed to execute (ExtractRoofForm).&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to run the tool outside of ArcGIS Pro somehow, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I realized another problem - when I try to run the tool from &lt;SPAN style="background-color: #ffffff;"&gt;default location on the C: drive (where the package is unpacked) it goes well. However, when I try to run the tool from selected location, it fails. Why?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2020 07:46:07 GMT</pubDate>
    <dc:creator>TomášČernák</dc:creator>
    <dc:date>2020-07-10T07:46:07Z</dc:date>
    <item>
      <title>3D Basemaps Solution running outside of ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/3d-basemaps-solution-running-outside-of-arcgis/m-p/200115#M8880</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 would like to run the tool Extract Roof Form in Jupyter Notebook, but since the city is divided in several parts, it would be nice to send the data into a 'for' loop. When I am trying to import the CreateBuildings toolbox, I am getting the following errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;NameError&lt;/SPAN&gt;: name 'Nil' is not defined&lt;/P&gt;&lt;PRE style="border: 0px; margin: 0px;"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;IndexError&lt;/SPAN&gt;: list index out of range&lt;/PRE&gt;&lt;P&gt;However, at the end, it seems like the toolbox is imported:&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&amp;lt;module 'CreateBuildings'&amp;gt;&lt;/PRE&gt;&lt;P&gt;Then I tried to run the tool and I got the following error:&amp;nbsp;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="background-color: #ffffff;"&gt;&lt;DIV class="" style="padding: 0.4em;"&gt;&lt;PRE style="color: black; background-color: transparent; border: 0px; font-size: inherit; padding: 1px 0px;"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;OSError&lt;/SPAN&gt;                                   Traceback (most recent call last)&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;~\Documents\ArcGIS\Packages\3Dbasemaps_8ee4ba\p20\extract_roof_form_tbx.py&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;      2&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;from&lt;/SPAN&gt; scripts &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;import&lt;/SPAN&gt; extract_roof_form&lt;SPAN class="" style="color: #00a250;"&gt;      3&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;----&amp;gt; 4&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt; &lt;/SPAN&gt;aprx &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;mp&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;ArcGISProject&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;"CURRENT"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;      5&lt;/SPAN&gt; home_directory &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; aprx&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;homeFolder&lt;SPAN class="" style="color: #00a250;"&gt;      6&lt;/SPAN&gt; project_ws &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; aprx&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;defaultGeodatabase &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_mp.py&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;__init__&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;(self, aprx_path)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    335&lt;/SPAN&gt;            A string that includes the full system path and file name of an existing ArcGIS project ( .aprx ) or a string that contains the CURRENT keyword."""&lt;SPAN class="" style="color: #00a250;"&gt;    336&lt;/SPAN&gt;         &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;import&lt;/SPAN&gt; arcgisscripting&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;--&amp;gt; 337&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;         &lt;/SPAN&gt;self&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_arc_object &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; arcgisscripting&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_mapping&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;ArcGISProject&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;*&lt;/SPAN&gt;gp_fixargs&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;aprx_path&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;True&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    338&lt;/SPAN&gt; &lt;SPAN class="" style="color: #00a250;"&gt;    339&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;class&lt;/SPAN&gt; Bookmark&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;_ObjectWithoutInitCall&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;OSError&lt;/SPAN&gt;: CURRENT &lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" style="background-color: #ffffff;"&gt;&lt;DIV class="" style="padding: 0px 0.4em;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="padding: 0.4em;"&gt;&lt;PRE style="color: black; background-color: transparent; border: 0px; font-size: inherit; padding: 1px 0px;"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;ExecuteError&lt;/SPAN&gt;                              Traceback (most recent call last)&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;&amp;lt;ipython-input-7-3a4f66b71178&amp;gt;&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;      7&lt;/SPAN&gt;                                       &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #258f8f; font-weight: bold;"&gt;0.05&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;      8&lt;/SPAN&gt;                                       &lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;"blds_bosonohy_footprint"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;----&amp;gt; 9&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;                                       False)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;~\Documents\ArcGIS\Packages\3Dbasemaps_8ee4ba\p20\CreateBuildings.tbx&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;ExtractRoofForm&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;(Buildings, DSM, DTM, nDSM, Create_Flat_Roofs_Only, Minimum_Flat_Roof_Area, Minimum_Slope_Roof_Area, Minimum_Roof_Height, Output_Building_Polygons, Simplify_Buildings, Simplify_Tolerance, first_time, previous_layer, first_time_dsm)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    159&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    160&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;i&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;f&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;V&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;C&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;S&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;--&amp;gt; 161&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;c&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;_&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;v&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;c&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;_&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;n&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;a&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;m&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;V&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;C&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;S&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;n&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;a&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;m&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    162&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    163&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;f&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;a&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;i&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;l&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;d&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;F&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;a&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;l&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;~\Documents\ArcGIS\Packages\3Dbasemaps_8ee4ba\p20\CreateBuildings.tbx&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;ExtractRoofForm&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;(Buildings, DSM, DTM, nDSM, Create_Flat_Roofs_Only, Minimum_Flat_Roof_Area, Minimum_Slope_Roof_Area, Minimum_Roof_Height, Output_Building_Polygons, Simplify_Buildings, Simplify_Tolerance, first_time, previous_layer, first_time_dsm)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    156&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;p&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;o&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;j&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;c&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;t&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;d&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;T&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;u&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    157&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;l&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;--&amp;gt; 158&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;p&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;o&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;j&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;c&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;t&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;d&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;F&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;a&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;l&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;e&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    159&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    160&lt;/SPAN&gt; &lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;i&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;f&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;s&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;r&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;V&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;C&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;S&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;&amp;lt;lambda&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;(*args)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    509&lt;/SPAN&gt;         val &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; getattr&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;self&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_gp&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; attr&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    510&lt;/SPAN&gt;         &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;if&lt;/SPAN&gt; callable&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;val&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;--&amp;gt; 511&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;             &lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;return&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;lambda&lt;/SPAN&gt; &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;*&lt;/SPAN&gt;args&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt; val&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;*&lt;/SPAN&gt;gp_fixargs&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;args&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;True&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    512&lt;/SPAN&gt;         &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;else&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    513&lt;/SPAN&gt;             &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;return&lt;/SPAN&gt; convertArcObjectToPythonObject&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;val&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;ExecuteError&lt;/SPAN&gt;: ERROR 000582: Error occurred during execution.&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/PRE&gt;&lt;P&gt;From the message I didn't find a solution for my problem. When I run the tool in ArcGIS Pro everything is okay. I tried to set up task schedule for the areas, but I got the same error as in Jupyter Notebook:&lt;/P&gt;&lt;PRE class="" style="color: #d1d1d1; background-color: #242424; font-size: 12.96px; padding: 0px 0px 0.25rem;"&gt;&lt;SPAN class="" style="color: #d1d1d1; background-color: #242424; margin: 0px 4px 0px 0px; padding: 0px 0px 0.25rem;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d1d1d1; background-color: #242424; text-decoration: none; padding: 0px 0px 0.25rem;"&gt;Traceback (most recent call last):   File "C:\Users\tcernak\Documents\ArcGIS\Packages\3Dbasemaps_8ee4ba\p20\extract_roof_form_tbx.py", line 4, in &amp;lt;module&amp;gt;     aprx = arcpy.mp.ArcGISProject("CURRENT")   File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_mp.py", line 337, in __init__     self._arc_object = arcgisscripting._mapping.ArcGISProject(*gp_fixargs((aprx_path,), True)) OSError: CURRENT&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="" style="color: #d1d1d1; background-color: #242424; font-size: 12.96px; padding: 0px 0px 0.25rem;"&gt;&lt;SPAN class="" style="color: #d1d1d1; background-color: #242424; margin: 0px 4px 0px 0px; padding: 0px 0px 0.25rem;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d1d1d1; background-color: #242424; text-decoration: none; padding: 0px 0px 0.25rem;"&gt;Failed to execute (ExtractRoofForm).&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to run the tool outside of ArcGIS Pro somehow, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I realized another problem - when I try to run the tool from &lt;SPAN style="background-color: #ffffff;"&gt;default location on the C: drive (where the package is unpacked) it goes well. However, when I try to run the tool from selected location, it fails. Why?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 07:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/3d-basemaps-solution-running-outside-of-arcgis/m-p/200115#M8880</guid>
      <dc:creator>TomášČernák</dc:creator>
      <dc:date>2020-07-10T07:46:07Z</dc:date>
    </item>
  </channel>
</rss>

