ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ElevationTypeDefinition Class / FeatureElevationExpression Property

In This Topic
    FeatureElevationExpression Property (ElevationTypeDefinition)
    In This Topic
    Gets or sets the FeatureElevationExpression.
    Syntax
    public string FeatureElevationExpression {get; set;}
    Public Property FeatureElevationExpression As String
    Remarks
    A FeatureElevationExpression can be used to specify the height of features when the LayerElevationType is one of: LayerElevationType.AtAbsoluteHeight, LayerElevationType.RelativeToCustomSurface, and LayerElevationType.RelativeToGround otherwise the expression is ignored. Expressions can be in either VBScript or in the Arcade language.
    Use GeometryZValueExpressionString to specify the feature geometry z-values will be used (if features are z-enabled). If a FeatureElevationExpression is specified then the NumericFieldName will be ignored. To use a NumericFieldName, set the FeatureElevationExpression to an empty string.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.3 or higher.
    See Also