<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Getting Utility Network Trace Results as Aggregated Geometry in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/getting-utility-network-trace-results-as/m-p/1055840#M61076</link>
    <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="agg.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12849i9E9CF872293090D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="agg.png" alt="agg.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my stand alone Python script, if I change the&amp;nbsp;&lt;SPAN&gt;result_types&lt;/SPAN&gt; parameter from &lt;SPAN&gt;SELECTION&lt;/SPAN&gt; to &lt;SPAN&gt;AGGREGATED_GEOMETRY&lt;/SPAN&gt;, I get the error&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ERROR 000622: Failed to execute (Trace). Parameters are not valid.
ERROR 000800: The value is not a member of Selection.
Failed to execute (Trace).&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;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?&lt;/P&gt;</description>
    <pubDate>Fri, 07 May 2021 19:37:03 GMT</pubDate>
    <dc:creator>Aubrey_Drescher</dc:creator>
    <dc:date>2021-05-07T19:37:03Z</dc:date>
    <item>
      <title>Getting Utility Network Trace Results as Aggregated Geometry</title>
      <link>https://community.esri.com/t5/python-questions/getting-utility-network-trace-results-as/m-p/1055840#M61076</link>
      <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="agg.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12849i9E9CF872293090D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="agg.png" alt="agg.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my stand alone Python script, if I change the&amp;nbsp;&lt;SPAN&gt;result_types&lt;/SPAN&gt; parameter from &lt;SPAN&gt;SELECTION&lt;/SPAN&gt; to &lt;SPAN&gt;AGGREGATED_GEOMETRY&lt;/SPAN&gt;, I get the error&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ERROR 000622: Failed to execute (Trace). Parameters are not valid.
ERROR 000800: The value is not a member of Selection.
Failed to execute (Trace).&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;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?&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 19:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-utility-network-trace-results-as/m-p/1055840#M61076</guid>
      <dc:creator>Aubrey_Drescher</dc:creator>
      <dc:date>2021-05-07T19:37:03Z</dc:date>
    </item>
  </channel>
</rss>

