ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.NetworkDiagrams Namespace / DiagramAggregation Class
Members Example

In This Topic
    DiagramAggregation Class
    In This Topic
    Represents a diagram aggregation. A diagram aggregation is when multiple utility network rows are collapsed into a single network diagram element.
    Syntax
    Public NotInheritable Class DiagramAggregation 
    public sealed class DiagramAggregation 
    Example
    Get Diagram Aggregations
    {
      // Get the diagram aggregations
      static void GetDiagramAggregation(NetworkDiagram networkDiagram)
      {
        IReadOnlyList<DiagramAggregation> aggregations = networkDiagram.GetAggregations();
        foreach (DiagramAggregation aggregation in aggregations)
        {
          NetworkDiagramAggregationType type = aggregation.AggregationType;
        }
      }
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.Data.NetworkDiagrams.DiagramAggregation

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also