ArcGIS Pro 2.6 API Reference Guide
GetAllSliceLayers Method

ArcGIS.Desktop.Mapping Namespace > SliceAffectedLayer Class : GetAllSliceLayers Method
Returns a list of SliceAffectedLayer objects for the active scene view.
Syntax
public static Task<List<SliceAffectedLayer>> GetAllSliceLayers()
Public Shared Function GetAllSliceLayers() As Task(Of List(Of SliceAffectedLayer))
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

SliceAffectedLayer Class
SliceAffectedLayer Members