ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TerrainDefinition Class / GetPyramidWindowSizeProperties Method
Example Version

    GetPyramidWindowSizeProperties Method
    Gets the TerrainWindowSizeProperties of the Terrain. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public TerrainWindowSizeProperties GetPyramidWindowSizeProperties()

    Return Value

    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    This method or property must be called within the lambda passed to QueuedTask.Run
    Example
    Get Pyramid Information from a TerrainDefinition
    var pyramidType = terrainDef.GetPyramidType();
    var pyramidProps = terrainDef.GetPyramidWindowSizeProperties();
    
    var method = pyramidProps.Method;
    var threshold = pyramidProps.ZThreshold;
    var strategy = pyramidProps.ZThresholdStrategy;
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also