<?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: Utility Network Trace Arguments in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/utility-network-trace-arguments/m-p/779398#M1071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely! &amp;nbsp;Just use a &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic18004.html"&gt;NetworkAttributeComparison&lt;/A&gt; object instead. &amp;nbsp;You can use the &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic17897.html"&gt;And&lt;/A&gt; and &lt;A href="https://prodev.arcgis.com/en/pro-app/sdk/api-reference/#topic18018.html"&gt;Or&lt;/A&gt; classes to combine multiple tests together. &amp;nbsp;Depending on what you are trying to do, you'd add it to the Traversability, Filter, or OutputCondition properties of &lt;A href="https://prodev.arcgis.com/en/pro-app/sdk/api-reference/#topic18078.html"&gt;TraceConfiguration&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Sep 2020 22:58:28 GMT</pubDate>
    <dc:creator>RichRuh</dc:creator>
    <dc:date>2020-09-01T22:58:28Z</dc:date>
    <item>
      <title>Utility Network Trace Arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/utility-network-trace-arguments/m-p/779394#M1067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to trace a Utility Network with ArcGIS Pro 2.6&amp;nbsp;using a custom C# trace task (need to do some neat stuff).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one know how to pass in a trace argument for a condition barrier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/utility-network/subnetworks.htm#ESRI_SECTION1_2BE8C34E651F4AED9500855F94CD3450" title="https://pro.arcgis.com/en/pro-app/help/data/utility-network/subnetworks.htm#ESRI_SECTION1_2BE8C34E651F4AED9500855F94CD3450"&gt;Subnetworks—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to be able to set the condition barrier programmatically for a network category&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kieren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 17:36:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/utility-network-trace-arguments/m-p/779394#M1067</guid>
      <dc:creator>KierenTinning2</dc:creator>
      <dc:date>2020-08-25T17:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Utility Network Trace Arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/utility-network-trace-arguments/m-p/779395#M1068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kieren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do this by creating a CategoryComparison object, and setting it in the TraceConfiguration, like this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;CategoryComparison categoryComparison &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;CategoryComparison&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;CategoryOperator&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IsEqual&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; “Protective Device”&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
traceConfiguration&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Traversability&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Barriers &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; categoryComparison&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you haven't read it already, &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Utility-Network#tracing" rel="nofollow noopener noreferrer" target="_blank"&gt;this doc&lt;/A&gt; walks through all of the different trace classes and how they are used. &amp;nbsp;Also, we have a &lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/UtilityNetwork/LoadReportSample" rel="nofollow noopener noreferrer" target="_blank"&gt;Load Report sample&lt;/A&gt; that demonstrates the use of a CategoryComparison.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps. &amp;nbsp;Please let us know if you have further questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:47:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/utility-network-trace-arguments/m-p/779395#M1068</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2021-12-12T08:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Utility Network Trace Arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/utility-network-trace-arguments/m-p/779396#M1069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, that was relatively painless - ended up adding it to the Filters in order to stop the trace, but it's working well now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 19:42:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/utility-network-trace-arguments/m-p/779396#M1069</guid>
      <dc:creator>KierenTinning2</dc:creator>
      <dc:date>2020-08-25T19:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Utility Network Trace Arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/utility-network-trace-arguments/m-p/779397#M1070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/44320"&gt;Rich Ruh&lt;/A&gt;‌, quick question.&amp;nbsp; Looking through the trace arguments and everything, it all works very well.&amp;nbsp; Is it easily doable to use attributes on the underlying features to constrain the trace? I.e. set up a condition where I can query and constrain based on Attribute Value "A", something like trace a water line, but only where pressure is 50? or material is "steel"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2020 11:07:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/utility-network-trace-arguments/m-p/779397#M1070</guid>
      <dc:creator>KierenTinning2</dc:creator>
      <dc:date>2020-09-01T11:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Utility Network Trace Arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/utility-network-trace-arguments/m-p/779398#M1071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely! &amp;nbsp;Just use a &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic18004.html"&gt;NetworkAttributeComparison&lt;/A&gt; object instead. &amp;nbsp;You can use the &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic17897.html"&gt;And&lt;/A&gt; and &lt;A href="https://prodev.arcgis.com/en/pro-app/sdk/api-reference/#topic18018.html"&gt;Or&lt;/A&gt; classes to combine multiple tests together. &amp;nbsp;Depending on what you are trying to do, you'd add it to the Traversability, Filter, or OutputCondition properties of &lt;A href="https://prodev.arcgis.com/en/pro-app/sdk/api-reference/#topic18078.html"&gt;TraceConfiguration&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2020 22:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/utility-network-trace-arguments/m-p/779398#M1071</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2020-09-01T22:58:28Z</dc:date>
    </item>
  </channel>
</rss>

