Hi everyone,
I am trying to automate the creation of a Building Scene Layer from a Revit file by building a geoprocessing service on ArcGIS Server (advanced license, Enterprise version 11.2). The process works perfectly in ArcGIS Pro, where I use the arcpy.CreateBuildingSceneLayerContent() tool to generate the .slpk file. I then publish the tool using the ArcGIS API for Python.
However, when I publish the tool on ArcGIS Server and try to run it as a GP service, the tool fails during the .slpk preparation step and throws the following error:
"003266: Absolute Z values used"
Steps I've Tried:
1. Converted the Revit file into a geodatabase format and reprojected it.
2. Reprojected the dataset to various coordinate systems.
3. Ensured all inputs have valid spatial references and elevation values.
Despite these efforts, the error persists only when running the tool as a GP service on the server.
Has anyone encountered this issue before? Any insights into the cause of Error 003266 in this context or suggestions to resolve it would be greatly appreciated.
Thank you in advance for your help!