ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / TraceConfiguration Class / IncludeBarriersWithResults Property

In This Topic
    IncludeBarriersWithResults Property
    In This Topic
    Determines whether or not the elements that stop the trace are included in the trace results.
    Syntax
    public bool IncludeBarriersWithResults {get; set;}
    Public Property IncludeBarriersWithResults As Boolean
    Remarks
    • This setting pertains to TraceArgument.Barriers and TraceArgument.FilterBarriers, as well as other traversability (Traversability) and filter (Filter) settings. For example, if you are performing a gas or water subnetwork trace, setting this value to True will cause closed valves to be included in the trace results.
    • If the feature that stops trace results has terminals, the terminal on the side of the device where traversal began is always included, regardless of this setting. For example, if a downstream trace in an electric transmission network encounters an open circuit breaker, the source terminal on that circuit breaker will be included in the trace results (and the load terminal will not).
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also