ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Editing Namespace / ElevationCapturing Class / HasSurfaces Property

In This Topic
    HasSurfaces Property
    In This Topic
    Gets whether the current Map has any usable elevation surface layers
    Syntax
    Public Shared ReadOnly Property HasSurfaces As Boolean
    public static bool HasSurfaces {get;}
    Remarks

    An elevation surface layer is considered usable if it is visible and has at least one elevation source layer.

    If there are no usable elevation surfaces in the map, then it is not possible to set the CaptureMode to ElevationCaptureMode.Surface

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also