<?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: Looping IEnumNetEID Geometric Network Trace Results in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/looping-ienumneteid-geometric-network-trace/m-p/463359#M12557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HEY!&amp;nbsp; I'm very interested.&amp;nbsp; I'm attempting to do something similar for a Route Network.&amp;nbsp; Same problem, the TraversalResult stuff steps me through each 'Edge' arc, whereas I want to loop through each Route and determine the arcs that make up that route.&amp;nbsp; I think you code may help me.&amp;nbsp; If you could send it as text in the body of an e-mail??&amp;nbsp; &lt;/SPAN&gt;&lt;A href="mailto:namboy@fs.fed.us"&gt;namboy@fs.fed.us&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Oct 2010 19:21:35 GMT</pubDate>
    <dc:creator>NathanAmboy</dc:creator>
    <dc:date>2010-10-05T19:21:35Z</dc:date>
    <item>
      <title>Looping IEnumNetEID Geometric Network Trace Results</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/looping-ienumneteid-geometric-network-trace/m-p/463357#M12555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I developed a custom geometric network trace solver function that repeatedly traces a geometric network and dynamically adds and deletes barriers for each trace.&amp;nbsp; After each trace runs, I need to determine if particular features (EIDs) in the network were reached by the trace.&amp;nbsp; In my current solution, I loop through each EID from the trace result???s IEnumNetEID enumeration.&amp;nbsp; Once the desired EID is found, I break the loop and start the tracing process over.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works, but it can be extremely slow when the result enumeration reaches thousands of records.&amp;nbsp; What???s the optimal way to determine if an IEnumNetEID contains a particular EID value?&amp;nbsp; Is there any way to check the trace results without looping?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be great to see an&amp;nbsp; ???IEnumNetEID.Contains??? method, similar to a generic array.&amp;nbsp; I tried casting the IEnumNetEID to various array formats and also using IEIDHelper with no success.&amp;nbsp; Any suggestions?&amp;nbsp; I???m using C# and Arc v10.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 21:45:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/looping-ienumneteid-geometric-network-trace/m-p/463357#M12555</guid>
      <dc:creator>PeterWilt</dc:creator>
      <dc:date>2010-09-28T21:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Looping IEnumNetEID Geometric Network Trace Results</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/looping-ienumneteid-geometric-network-trace/m-p/463358#M12556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If anyone is interested, I solved this problem by storing pertinent EIDs in a List&amp;lt;int&amp;gt; and using IForwardStar to step through the network from a given origin.&amp;nbsp; At each network feature, the code performs a List.Contains and I am able to track which of the pertinent EIDs were reached.&amp;nbsp; Performance is actually much faster than using the trace solvers and the results are easier to manipulate for this particular application.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 16:29:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/looping-ienumneteid-geometric-network-trace/m-p/463358#M12556</guid>
      <dc:creator>PeterWilt</dc:creator>
      <dc:date>2010-10-01T16:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Looping IEnumNetEID Geometric Network Trace Results</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/looping-ienumneteid-geometric-network-trace/m-p/463359#M12557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HEY!&amp;nbsp; I'm very interested.&amp;nbsp; I'm attempting to do something similar for a Route Network.&amp;nbsp; Same problem, the TraversalResult stuff steps me through each 'Edge' arc, whereas I want to loop through each Route and determine the arcs that make up that route.&amp;nbsp; I think you code may help me.&amp;nbsp; If you could send it as text in the body of an e-mail??&amp;nbsp; &lt;/SPAN&gt;&lt;A href="mailto:namboy@fs.fed.us"&gt;namboy@fs.fed.us&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 19:21:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/looping-ienumneteid-geometric-network-trace/m-p/463359#M12557</guid>
      <dc:creator>NathanAmboy</dc:creator>
      <dc:date>2010-10-05T19:21:35Z</dc:date>
    </item>
  </channel>
</rss>

