ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.NetworkDiagrams Namespace / NetworkDiagram Class / SetDiagramElementInfo Method
The DiagramElementFilter to filter the diagram element infos to set.
The IList of DiagramElementInfo to set to the diagram elements.

In This Topic
    SetDiagramElementInfo Method
    In This Topic
    Set junctions info of this network diagram. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax

    Parameters

    filter
    The DiagramElementFilter to filter the diagram element infos to set.
    diagramElementsInfo
    The IList of DiagramElementInfo to set to the diagram elements.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    Remarks
    This routine generates its own editing transaction, and therefore cannot be wrapped in a separate transaction. Because the editing performed by this routine cannot be undone, this routine can also not be called within an editing session. All edits in the current edit session must be saved or discarded before calling this routine.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.3 or higher.
    See Also