ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / Filter Class
Members

In This Topic
    Filter Class
    In This Topic
    The Filter class encapsulates all of the criteria that determine filters in a utility network trace.
    Object Model
    Filter ClassCondition ClassNetworkAttribute ClassNearestNeighbor Class
    Syntax
    public sealed class Filter 
    Public NotInheritable Class Filter 
    Remarks
    Filters are a mechanism to stop tracing when returning results. They do not stop traversability to the controller. For example, let's assume you want to write a trace to find the next upstream protective device in an electrical network. You would do this by creating a CategoryComparison object to stop when a feature is found that is assigned the "Protective Device" category. If you entered this CategoryComparison object into Traversability.Barriers then the trace would be unable to find a subnetwork controller to determine which direction was upstream. The correct way to implement this is by entering this CategoryComparison object into Barriers property of the Filter object.
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.Data.UtilityNetwork.Trace.Filter

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also