Select to view content in your preferred language

Getting Utility Network Trace Results as Aggregated Geometry

05-07-2021 12:37 PM
New Contributor

Could someone help me determine the reason I cannot select "Aggregated Geometry" as a result type when I am doing a Utility Network Trace in ArcGIS Pro or in Python? In ArcGIS Pro (version 2.7), the option is there in the geoprocessing tool dialog box when I first open the tool, but as soon as I select my input Utility Network, it disappears.






In my stand alone Python script, if I change the result_types parameter from SELECTION to AGGREGATED_GEOMETRY, I get the error 

ERROR 000622: Failed to execute (Trace). Parameters are not valid.
ERROR 000800: The value is not a member of Selection.
Failed to execute (Trace).

This is a problem for me because my end goal is to publish this script as a geoprocessing tool and have it output geometry that I can put on a web map. If the Trace can only result in a selection set, is there a way to access those selected features in a standalone Python script?

Tags (2)
0 Kudos
0 Replies