ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMTerrainDirtyAreaRenderer Class
Members Example

In This Topic
    CIMTerrainDirtyAreaRenderer Class
    In This Topic
    Represents a terrain dirty area renderer.
    Object Model
    CIMTerrainDirtyAreaRenderer ClassCIMTerrainDirtyAreaRenderer ClassCIMTerrainDirtyAreaRenderer ClassCIMSymbolReference Class
    Syntax
    Example
    Dirty Area Renderer
    // applies to Terrain layers only
    
    var dirtyAreaRendererDef = new TerrainDirtyAreaRendererDefinition();
    // accept default labels, symbolTemplate
    
    var terrainLayer = MapView.Active.Map.GetLayersAsFlattenedList().OfType<TerrainLayer>().FirstOrDefault();
    if (terrainLayer == null)
      return;
    
    if (terrainLayer.CanCreateRenderer(dirtyAreaRendererDef))
    {
      CIMTinRenderer renderer = terrainLayer.CreateRenderer(dirtyAreaRendererDef);
      if (terrainLayer.CanSetRenderer(renderer, SurfaceRendererTarget.DirtyArea))
        terrainLayer.SetRenderer(renderer, SurfaceRendererTarget.DirtyArea);
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.CIM.CIMObject
          ArcGIS.Core.CIM.CIMTinRenderer
             ArcGIS.Core.CIM.CIMTinSimpleRenderer
                ArcGIS.Core.CIM.CIMTerrainDirtyAreaRenderer

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also