Evaluates a scene layer package (*.slpk) file to determine its conformity to I3S specifications.
This tool will compare the input scene layer package against the I3S specifications outlined for its declared version.
Consider running this tool prior to publishing a scene layer package, particularly if the scene layer package was generated outside of the ArcGIS platform. The output report will identify potential issues within the scene layer package that can cause problems when drawing in ArcGIS client applications.
The tool evaluates the JSON components of the scene layer package to confirm that required and recommended properties are defined. For 3D objects and integrated mesh, the following checks are conducted against the binary components:
- Confirms the presence of all declared root and child nodes within the scene layer package node tree.
- Confirms all child nodes reside within a small tolerance of the minimum bounding sphere of its parent node.
ValidateSceneLayerPackage_management (in_slpk, out_report)
The scene layer package file that will be evaluated.
The text report that will summarize the results of the analysis.
ValidateSceneLayerPackage example (Python window)
The following sample demonstrates the use of this tool in the Python window.
import arcpy arcpy.env.workspace = 'C:/Data' arcpy.management.ValidateSceneLayerPackage('street_furniture.slpk', 'validate_report.txt')
- ArcGIS Desktop Basic: Yes
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes