Add Remove Feature Rule (Network Diagram Tools)
Summary
Adds a diagram rule to the rule sequence specified on a diagram template to automatically remove diagram features during diagram buildings. This rule removes diagram features based on different network source classes and object tables. You can constrain the removal of features based on connectivity.
Learn more about feature and nonspatial object removal in network diagrams
Caution:
This tool is a configuration and administration tool.
Note:
This tool impacts the consistency of any existing diagrams based on the input diagram template. All of the existing diagrams become inconsistent and open with a consistency warning icon
until they are updated.
Usage
This tool is not supported when working with a utility network or trace network service. You must use either a utility network or trace network in a file or mobile geodatabase, or a database connection to a utility network or trace network in an enterprise geodatabase. When working with an enterprise geodatabase, the following are requirements:
The Input Network parameter value must be from a database connection established as the database utility network owner or database trace network owner.
The connected ArcGIS Enterprise portal account must be the portal utility network owner or portal trace network owner.
This tool must be connected to the default version, which is expected to be public and not protected.
The Remove Feature rule is used to remove specific network features or network objects represented in diagrams. This rule processes on network source classes or object tables, or on network categories. When the remove operation is configured to process on a network source class or object table, you can filter out these network elements by attributes. The process can also be run for specific connectivity constraints depending on the geometry type of the removed network elements.
You can use this tool to configure the Remove Feature rule to remove either all diagram features that are based on specified network source classes and object tables or all diagram features except those based on the specified network source classes and object tables.
By default, the Rule Process parameter is set to Include source classes and one or more network source classes or object tables with all their features or objects, respectively, must be systematically discarded in the generated diagram.
When the Rule Process parameter is set to Exclude source classes, all network features and objects represented in the diagrams are removed except those based on the specified network source classes and object tables. Use this parameter to remove all features in diagrams except those representing electric transmission lines, for example, and to guarantee that diagrams showing only the electric transmission part of the network will be returned, regardless of what the end user selects as input for the diagram generation.
Starting with ArcGIS Pro 2.9, you can configure particular constraints based on connectivity so that the Remove Feature rule only applies to unconnected junctions or junctions connected to a single junction in the network diagram. These constraints can be set up to process network features or objects represented as diagram junctions or diagram containers.
You can use this tool to configure automatic discard of diagram features based on network source classes or object tables that may be present among the input network features and objects set during diagram building. For example, when an area is selected without prefiltering features and you want the diagram from this area to show only the primary equipment, you can configure the Remove Feature rule to automatically remove secondary equipment that may be present in the input network elements set.
When the Remove Feature rule runs at the first position in the list of rules related to a template, it permanently deletes the initial diagram features, gaining space and improving performance for additional updates.
If representing network linear containers and their related contents together in diagrams is confusing or of little interest, you can also use this tool to remove linear container edges from diagrams. In this case, the Remove Feature rule is typically configured at the end of the rule sequence.
When the
SystemJunctionsclass exists among the specified Network Sources parameter values, the rule is systematically applied to both system junctions and system junction objects.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Network |
The utility network or trace network containing the diagram template that will be modified. |
Utility Network; Trace Network |
|
Input Diagram Template |
The name of the diagram template that will be modified. |
String |
|
Active |
Specifies whether the rule will be enabled when generating and updating diagrams based on the specified template.
|
Boolean |
|
Source Type |
Specifies the geometry type of the source class or object table that will be processed.
|
String |
|
Rule Process |
Specifies how the specified network source classes and object tables will be processed.
|
String |
|
Network Sources |
The network source class (or classes) and object table (or tables) that will be excluded or included depending on the rule process. By default, the Rule Process parameter is set to Include source classes, and one or more network source classes or object tables will be processed. All diagram features related to network features and objects that belong to those classes and object tables will be removed. Note:When specifying the |
Table; Feature Class |
|
Description (Optional) |
The description of the rule. |
String |
|
Junctions must be unconnected |
Specifies whether diagram junction and diagram container candidates must be unconnected to be removed. Note:This parameter is only enabled when the Source Type parameter is set to Junctions only.
|
Boolean |
|
Junctions must be connected to a single junction |
Specifies whether diagram junction and diagram container candidates must be connected to a single diagram junction or diagram container to be removed. Note:This parameter is only enabled when the Source Type parameter is set to Junctions only.
|
Boolean |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Output Network |
The updated utility network or trace network. |
Utility Network; Trace Network |
|
Output Diagram Template |
The name of the diagram template. |
String |
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes