Add Remove Feature By Attribute 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. The features that will be removed are queried by attributes from a given network source class or object table. You can also constrain the removal of features based on connectivity.
Learn more about the removal of features in 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 run by attributes. This means you can configure the removal of diagram features from a given network class or object table by filtering their attributes.
Note:
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 to you, you can also use this tool to remove linear container edges in diagrams (network lines or edge objects in which the
Association statusattribute isContainer).
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 |
|
Network Source to Remove |
The network source class or object table that will be processed. All diagram features related to network features or objects that belong to this source class or object table are removal candidates. |
Table; Feature Class |
|
Expression (Optional) |
An SQL expression that will be used to select the subset of network elements from the element removal candidates in the diagrams based on the input template. |
SQL Expression |
|
Description (Optional) |
The description of the rule. |
String |
|
Junctions must be unconnected |
Specifies whether diagram junctions and diagram containers must be unconnected to be removed. Note:This parameter is only enabled when the specified Network Source to Remove parameter value corresponds to junctions or containers in the network diagrams.
|
Boolean |
|
Junctions must be connected to a single junction |
Specifies whether diagram junctions and diagram containers must be connected to a single diagram junction or diagram container to be removed. Note:This parameter is only enabled when the specified Network Source to Remove parameter value corresponds to junctions or containers in the network diagrams.
|
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