AnsweredAssumed Answered

ArcPY CreateSceneLayerPackage Crashes (ArcGIS Pro 2.0)

Question asked by Theolite on Oct 11, 2017
Latest reply on Oct 12, 2017 by Theolite

Hi,


When running a CreateSceneLayerPackage as a standalone script, ArcGIS Pro crashes.

When running the same script in ArcGIS Pro python console, it works fine.


import arcpy

arcpy.management.MakeFeatureLayer(...)

arcpy.management.CreateSceneLayerPackage(...)


To verify that the problem was not the syntax, I ran the 2 GP tools MakeFeatureLayer and CreateSceneLayerPackage from  ArcGIS Pro (not using python, from the toolboxes), I went to the Geoprocessing History > Copy Python Command and copy the lines in my script.

 

Same thing, when running it from the Pro python console it works, but it crashes from a standalone script.


Has anyone experienced something similar ? Thanks

 

Theo

Outcomes