Title Validate by Polygon
Runs the Validate Network Topology Geoprocessing tool for every input polygon.
When there is an active map, the Output Class will be added to the map during execution so progress can be monitored.
License
Basic
ValidateByPolygon (in_network, in_features, {partition_class})
Parameter | Explanation | Data Type |
---|---|---|
in_network |
Dialog Reference
The utility network. |
GPUtilityNetworkLayer |
in_features |
Dialog Reference
The polygon feature class used to define validation areas. The extent of each feature will be used as input to Validate Network Topology. |
GPFeatureLayer |
partition_class (Optional) |
Dialog Reference
The output feature class where results will be written. This can be used to track evaluation progress. |
DEFeatureClass |
ValidateByPolygon example 1 (Python window)
Validates all dirty areas by quadrants.
import arcpy
arcpy.udms.ValidateByPolygon("Naperville Network", "memory/quads")
ValidateByPolygon example 2 (stand-alone script)
Runs ValidateNetworkTopology across all input quadrants.
import arcpy
url = "https://acme.com/server/rest/services/MyUtilityNetwork/FeatureServer/9"
quadrants = "D:/data/network.gdb/quads"
output = "memory/ValidateResults"
arcpy.udms.ValidateByPolygon(
in_network=url,
in_features=quadrants,
partition_class=output,
)