Title Trace Configurations to Files
Converts Trace Configurations to a series of files
This tool creates the following outputs:
- Traces.aprx - An ArcGIS Pro project with geoprocessing history for each trace.
- Traces.atbx - An ArcGIS toolbox with a ModelBuilder model for each trace.
- Traces.json - A JSON file containing all trace configurations.
- Traces.py - A python script with the arcpy.Trace_un geoprocessing calls.
License
StandardToolset
Utility Network
Config2Trace (in_utility_network, folder)
Parameter | Explanation | Data Type |
---|---|---|
in_utility_network |
Dialog Reference
The utility network with trace configurations. |
GPUtilityNetworkLayer |
folder |
Dialog Reference
The output folder where the results will be saved. A uniquely named folder TraceConfigurations will be created here. |
DEFolder |
Config2Trace example 1 (Python window)
Converts Trace Configurations to a series of files
import arcpy
arcpy.udms.Config2Trace(
"d:/data/UtilityNetwork.gdb/UtilityNetwork/Network",
"d:/data",
)
Config2Trace example 2 (stand-alone script)
Converts Trace Configurations to a series of files
import arcpy
arcpy.udms.Config2Trace(in_utility_network="d:/data/UtilityNetwork.gdb/UtilityNetwork/Network", folder="d:/data")