ArcGIS Pro 2.7 API Reference Guide
FilterBarriers Property

ArcGIS.Core.Data.UtilityNetwork.Trace Namespace > TraceArgument Class : FilterBarriers Property
An optional set of ArcGIS.Core.Data.UtilityNetwork.Element objects that act as filter barriers. A regular barrier prevents traversal, which, when used with subnetwork-based traces, can prevent traversal to the subnetwork controller. Like a Filter, filter barriers are evaluated in the second pass of a trace. Therefore, it can restrict the result set without impacting the ability to find subnetwork controllers from starting points.
Syntax
public IReadOnlyList<Element> FilterBarriers {get; set;}
Public Property FilterBarriers As IReadOnlyList(Of Element)
Remarks
One example of where filter barriers can be used is in the gas distribution domain. Filter barriers can be used to simulate the location of a squeeze-off when executing a valve isolation trace. The user can place a filter barrier at the proposed location of the squeeze-off and then verify its impact using a trace. In the absence of filter barriers, the user would need to start editing, split the line, place a squeeze-off feature, and then validate network topology in order to verify that the squeeze-off location was correct.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

TraceArgument Class
TraceArgument Members