Create Voxel Scene Layer Content (Data Management)

Summary

Creates a scene layer package (.slpk file) from a voxel layer input.

Usage

  • All variables in the voxel layer are included in the scene layer package.

  • All isosurfaces and sections are included in the output scene layer package.

  • The coordinate system of the scene layer package matches the coordinate system of the input voxel layer.

Parameters

LabelExplanationData Type
Input Voxel Layer

The input voxel layer or layer file.

Voxel Layer; Layer File
Output Scene Layer Package

The output scene layer package (.slpk file).

File

arcpy.management.CreateVoxelSceneLayerContent(in_dataset, out_slpk)
NameExplanationData Type
in_dataset

The input voxel layer or layer file.

Voxel Layer; Layer File
out_slpk

The output scene layer package (.slpk file).

File

Code sample

CreateVoxelSceneLayerContent example 1 (Python window)

The following sample demonstrates the use of this tool in the Python window.

import arcpy
arcpy.env.workspace = "C:/temp"
arcpy.CreateVoxelSceneLayerContent_management("pm10.lyrx", "voxel.slpk")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics