ArcGIS Pro 2.6 API Reference Guide
HasSurfaces Property

ArcGIS.Desktop.Editing Namespace > ElevationCapturing Class : HasSurfaces Property
Gets whether the current Map has usable elevation surfaces
Syntax
public static bool HasSurfaces {get;}
Public Shared ReadOnly Property HasSurfaces As Boolean
Remarks
An elevation surface is considered usable if it has one or more elevation sources. 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 10, Windows 8.1, Windows 7

See Also

Reference

ElevationCapturing Class
ElevationCapturing Members