In ArcGIS Pro 2.5 ArcPy, Error: 002102 is returned when trying to execute the 'Create 3D Object Scene Layer Package' tool using a Python script outside the application.
上次发布: April 17, 2020ArcGIS Pro
漏洞 ID 编号
BUG-000129500
已提交
March 19, 2020
上次修改时间
June 5, 2024
适用范围
ArcGIS Pro
找到的版本
2.5
操作系统
Windows OS
操作系统版本
10.0
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
The Create 3D Object Scene Layer Package tool requires certain 3D properties to be in the layer definition. For example, multipatch feature layers must display at an absolute height. When running the Make Feature Layer tool outside of ArcGIS Pro, there are no 3D properties written to the layer definition and this behavior is as designed for the Make Feature Layer tool. When passing that layer into the Create 3D Object Scene Layer Package tool, it returns this error message as there are no 3D properties.
解决办法
The correct workflow is:
Add the feature class to a scene, then list layers.
Save that layer to a .lyrx file or manually add the feature class to a scene.