ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / TraceArgument Class / FilterBarriers Property
Version

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;}
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 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also