<?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 Re: Adding 3D Tiles to a Map/Scene via AddDataFromPath in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404758#M81286</link>
    <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;I tried from another folder location and same error. I also ran the program as administrator and got the same error. Do you know which credentials might be referred to?&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 17:54:41 GMT</pubDate>
    <dc:creator>Will_geoacuity</dc:creator>
    <dc:date>2024-04-02T17:54:41Z</dc:date>
    <item>
      <title>Adding 3D Tiles to a Map/Scene via AddDataFromPath</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404737#M81279</link>
      <description>&lt;P&gt;In ArcGIS 3.2.2, I am trying to create a toolbox that would occasionally output a 3D Tiles file (in .3tz format). Using the AddDataFromPath method gives an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my sample code done in the Python Window&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;import arcpy&lt;BR /&gt;aprx = arcpy.mp.ArcGISProject("CURRENT")&lt;BR /&gt;active_map = aprx.activeMap&lt;BR /&gt;arcpy.env.addOutputsToMap = True&lt;BR /&gt;active_map.addDataFromPath(r"path/to/3Dtiles.3tz")&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And I get the following error (on both maps and scenes):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\utils.py", line 191, in fn_&lt;BR /&gt;return fn(*args, **kw)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_mp.py", line 3744, in addDataFromPath&lt;BR /&gt;return convertArcObjectToPythonObject(self._arc_object.addDataFromPath(*gp_fixargs((data_path, web_service_type, custom_parameters,), True)))&lt;BR /&gt;RuntimeError: Failed to add data. Possible credentials issue.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I can successfully add the same .3tz file via the Add Data From Path buttons on the ribbon, but I wish to make an automated Python tool. The AddDataFromPath method works with .slpk files. Is there a separate tool I should use for 3D Tiles?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 17:25:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404737#M81279</guid>
      <dc:creator>Will_geoacuity</dc:creator>
      <dc:date>2024-04-02T17:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 3D Tiles to a Map/Scene via AddDataFromPath</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404748#M81283</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This works successfully on my end. This error "&lt;SPAN&gt;RuntimeError: Failed to add data. Possible credentials issue." looks like a permissions error although it is interesting that it works when you do it yourself instead of python. Can you try copying the 3tz file to a different folder location in case it is a permissions issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Andrew&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 17:37:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404748#M81283</guid>
      <dc:creator>Andrew--Johnson</dc:creator>
      <dc:date>2024-04-02T17:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 3D Tiles to a Map/Scene via AddDataFromPath</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404758#M81286</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;I tried from another folder location and same error. I also ran the program as administrator and got the same error. Do you know which credentials might be referred to?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 17:54:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404758#M81286</guid>
      <dc:creator>Will_geoacuity</dc:creator>
      <dc:date>2024-04-02T17:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 3D Tiles to a Map/Scene via AddDataFromPath</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404795#M81292</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Ok so I installed ArcGIS Pro 3.2 and can confirm that I can reproduce the error you are running into. Earlier I was testing on a 3.3 build. Bad news it does appear to be a bug in python. Good news it appears to be fixed in 3.3 which will (tentatively) be released to the public in May. I can see if there was an issue that the python team fixed that may provide a workaround for you in 3.2. Let me check and get back to you.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 18:45:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404795#M81292</guid>
      <dc:creator>Andrew--Johnson</dc:creator>
      <dc:date>2024-04-02T18:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 3D Tiles to a Map/Scene via AddDataFromPath</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404820#M81296</link>
      <description>&lt;P&gt;Awesome! Thank you Andrew. Standing by for Python workaround, and I look forward to installing 3.3 when it comes out.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 19:18:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404820#M81296</guid>
      <dc:creator>Will_geoacuity</dc:creator>
      <dc:date>2024-04-02T19:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 3D Tiles to a Map/Scene via AddDataFromPath</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404822#M81297</link>
      <description>&lt;P&gt;I am also working with geopackages (.gpkg) and getting a similar error with Python when adding from AddDataFromPath. Do you know if this gets solved in 3.3 as well?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 19:19:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1404822#M81297</guid>
      <dc:creator>Will_geoacuity</dc:creator>
      <dc:date>2024-04-02T19:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 3D Tiles to a Map/Scene via AddDataFromPath</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1405326#M81376</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes it does work with geopackages too. Still waiting to hear back from arcpy team if there is a workaround. Will let you know as soon as I hear.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 17:14:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1405326#M81376</guid>
      <dc:creator>Andrew--Johnson</dc:creator>
      <dc:date>2024-04-03T17:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 3D Tiles to a Map/Scene via AddDataFromPath</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1405903#M81469</link>
      <description>&lt;P&gt;Bump.&amp;nbsp; I'm experiencing same issue.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 17:19:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1405903#M81469</guid>
      <dc:creator>Cary67</dc:creator>
      <dc:date>2024-04-04T17:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 3D Tiles to a Map/Scene via AddDataFromPath</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1479417#M83826</link>
      <description>&lt;P&gt;Same here! Using Pro 3.1.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A workaround is to use the addLayer request:&lt;/P&gt;&lt;P&gt;layer = "C:\\folder\\folder\\...\\PolyOut.shp"&lt;BR /&gt;lyr_result = arcpy.MakeFeatureLayer_management(layer, "Layer_Test").getOutput(0)&lt;/P&gt;&lt;P&gt;map.addLayer(lyr_result)&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 13:50:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1479417#M83826</guid>
      <dc:creator>jorisfrenkel</dc:creator>
      <dc:date>2024-05-28T13:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 3D Tiles to a Map/Scene via AddDataFromPath</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1506731#M85712</link>
      <description>&lt;P&gt;&lt;SPAN&gt;you cannot use relative paths, it is considered a security issue (it seems)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Put the &lt;STRONG&gt;full path&lt;/STRONG&gt; to your .gdb or your .sde file&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 16:35:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-3d-tiles-to-a-map-scene-via-adddatafrompath/m-p/1506731#M85712</guid>
      <dc:creator>FredericPoliart_EsriAU</dc:creator>
      <dc:date>2024-07-18T16:35:14Z</dc:date>
    </item>
  </channel>
</rss>

