ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / IGeometryEngine Interface / DropZs Method / DropZs(Geometry) Method
The input geometry.

In This Topic
    DropZs(Geometry) Method
    In This Topic
    Sets all the Z-values to NaN.
    Syntax
    Overloads Function DropZs( _
       ByVal geometry As Geometry _
    ) As Geometry

    Parameters

    geometry
    The input geometry.

    Return Value

    The geometry with the Z-values set to NaN. If the geometry is empty, then the input geometry is returned unchanged.
    Exceptions
    ExceptionDescription
    Geometry is null.
    This geometry is not Z-Aware.
    The method is not implemeted for GeometryBag.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also