ArcGIS Pro 2.9 API Reference Guide
GetNetworkDiagrams Method (DiagramTemplate)

ArcGIS.Core.Data.UtilityNetwork.NetworkDiagrams Namespace > DiagramTemplate Class : GetNetworkDiagrams Method
Gets the list of NetworkDiagrams based on this diagram template. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public IReadOnlyList<NetworkDiagram> GetNetworkDiagrams()
Public Function GetNetworkDiagrams() As IReadOnlyList(Of NetworkDiagram)

Return Value

The list of NetworkDiagrams associated with this diagram template.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
This method or property must be called within the lambda passed to QueuedTask.Run
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

DiagramTemplate Class
DiagramTemplate Members