<?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 Re: Error: Trace does not support connectivity or containment and attachment result types in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-trace-does-not-support-connectivity-or/m-p/1512332#M11922</link>
    <description>&lt;P&gt;Currently, the Pro SDK only supports four trace result types: Element, FeatureElement, Aggregated Geom, and Function Output. Future versions may implement additional types, such as connectivity, geometry, NW diagram, etc. So, what you experienced is expected SDK behavior; if you need other functionalities, unfortunately, you need to use the &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Utility-Network#architecture-of-a-trace" target="_self"&gt;GP Tool&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Utility-Network#architecture-of-a-trace" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Utility-Network#architecture-of-a-trace&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2024 14:08:33 GMT</pubDate>
    <dc:creator>Aashis</dc:creator>
    <dc:date>2024-07-30T14:08:33Z</dc:date>
    <item>
      <title>Error: Trace does not support connectivity or containment and attachment result types</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-trace-does-not-support-connectivity-or/m-p/1511903#M11916</link>
      <description>&lt;P&gt;I'm running a trace via SDK using as ResultTypes: AggregatedGeometry, Feature and Element&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var resultTypes = new List&amp;lt;ResultType&amp;gt;();
resultTypes.Add(ResultType.AggregatedGeometry);
resultTypes.Add(ResultType.Feature);
resultTypes.Add(ResultType.Element);
//resultTypes.Add(ResultType.Connectivity);
traceArg.ResultTypes = resultTypes;&lt;/LI-CODE&gt;&lt;P&gt;I can get the results successfully when executing the trace, however, if I add the ResultType.Connectivity from line 5 as one of the parameters of traceArg.ResultTypes the exception is thrown:&lt;BR /&gt;&lt;STRONG&gt;“Trace does not support connectivity or containment and attachment result types”&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If I run the same trace using ArcGIS Pro's native trace tool and set Connectivity as one of the ResultType, I get the results without any errors.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 20:49:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-trace-does-not-support-connectivity-or/m-p/1511903#M11916</guid>
      <dc:creator>jefferson_bzp</dc:creator>
      <dc:date>2024-07-29T20:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Trace does not support connectivity or containment and attachment result types</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-trace-does-not-support-connectivity-or/m-p/1512332#M11922</link>
      <description>&lt;P&gt;Currently, the Pro SDK only supports four trace result types: Element, FeatureElement, Aggregated Geom, and Function Output. Future versions may implement additional types, such as connectivity, geometry, NW diagram, etc. So, what you experienced is expected SDK behavior; if you need other functionalities, unfortunately, you need to use the &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Utility-Network#architecture-of-a-trace" target="_self"&gt;GP Tool&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Utility-Network#architecture-of-a-trace" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Utility-Network#architecture-of-a-trace&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 14:08:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-trace-does-not-support-connectivity-or/m-p/1512332#M11922</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2024-07-30T14:08:33Z</dc:date>
    </item>
  </channel>
</rss>

