ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / PropagatorFunction Enumeration
Example Example

In This Topic
    PropagatorFunction Enumeration
    In This Topic
    The functions that can be used with Propagators.
    Syntax
    Members
    MemberDescription
    BitwiseAnd The network attribute value of the current element is bitwise-anded with the network attribute value propagated from the source.
    Max The network attribute value of the current element is compared against the network attribute value propagated from the source- the maximum of these values is propagated further downstream.
    Min The network attribute value of the current element is compared against the network attribute value propagated from the source- the minimum of these values is propagated further downstream.
    Example
    Create a Propagator
    // Get a NetworkAttribute object for the Phases Normal attribute from the UtilityNetworkDefinition
    using (NetworkAttribute normalPhaseAttribute = utilityNetworkDefinition.GetNetworkAttribute("Phases Normal"))
    {
      // Create a propagator to propagate the Phases Normal attribute downstream from the source, using a Bitwise And function
      // Allow traversal to continue as long as the Phases Normal value includes any of the ABC phases
      // (represented by the constant ABCPhase)
      Propagator phasePropagator = new Propagator(normalPhaseAttribute, PropagatorFunction.BitwiseAnd, Operator.IncludesAny, ABCPhase);
    
      // Assign this propagator to our trace configuration
      traceConfiguration.Propagators = new List<Propagator>() { phasePropagator };
    }
    
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             ArcGIS.Core.Data.UtilityNetwork.Trace.PropagatorFunction

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also