DiagramLayerConsistencyState Enumeration
Get Diagram from DiagramLayer
public void GetDiagram(DiagramLayer diagramLayer)
{
// note - methods need to run on MCT
NetworkDiagram diagram = diagramLayer.GetNetworkDiagram();
// get the consistency state from the layer
DiagramLayerConsistencyState dlState = diagramLayer.ConsistencyState;
// or from the diagram
NetworkDiagramConsistencyState ndState = diagram.GetConsistencyState();
}
System.Object
System.ValueType
System.Enum
ArcGIS.Desktop.Mapping.DiagramLayerConsistencyState
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.