ArcGIS Pro 2.7 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

See Also

Reference

SliceAffectedLayer Class
SliceAffectedLayer Members