<?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: Geometric Network - junctions along a single segment in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/geometric-network-junctions-along-a-single-segment/m-p/354461#M9325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess it wasn't that hard, just intimidating at first. Hope it's accurate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Get the FeatureCursor of all segments based on an attribute&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. For each Feature, cast it to an EdgeFeature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Get the FromToJunctionEIDs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Get the GeometricNetworkByName from the NetworkCollection (FeatureDataset)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Get the Logical Network and then the NetElements&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Query the NetElements based on the EID and ElementType (ETJunction) to get the FeatureClassID, ObjectID and SubID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Check the FeatureClassID to make sure its the FeatureClass you want&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. Query it based on the ObjectID to get the desired attribute&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2014 14:23:54 GMT</pubDate>
    <dc:creator>SteveClark</dc:creator>
    <dc:date>2014-04-29T14:23:54Z</dc:date>
    <item>
      <title>Geometric Network - junctions along a single segment</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geometric-network-junctions-along-a-single-segment/m-p/354460#M9324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to learn how to use a Geometric Network at the same time as how to programmatically do a specific task. What I want is to select a single segment (by an attribute) and have it select all of the junctions of a particular featureclass (so I can get an attribute from each of the junctions). I got as far as set up my IGeometricNetwork object but I need to back up have someone tell me the basic steps I should take to accomplish what I want (assuming that it can be done). What type of trace task would this be and can I do a trace on a selected segment?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 14:44:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geometric-network-junctions-along-a-single-segment/m-p/354460#M9324</guid>
      <dc:creator>SteveClark</dc:creator>
      <dc:date>2014-04-28T14:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Geometric Network - junctions along a single segment</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geometric-network-junctions-along-a-single-segment/m-p/354461#M9325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess it wasn't that hard, just intimidating at first. Hope it's accurate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Get the FeatureCursor of all segments based on an attribute&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. For each Feature, cast it to an EdgeFeature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Get the FromToJunctionEIDs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Get the GeometricNetworkByName from the NetworkCollection (FeatureDataset)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Get the Logical Network and then the NetElements&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Query the NetElements based on the EID and ElementType (ETJunction) to get the FeatureClassID, ObjectID and SubID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Check the FeatureClassID to make sure its the FeatureClass you want&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. Query it based on the ObjectID to get the desired attribute&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 14:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geometric-network-junctions-along-a-single-segment/m-p/354461#M9325</guid>
      <dc:creator>SteveClark</dc:creator>
      <dc:date>2014-04-29T14:23:54Z</dc:date>
    </item>
  </channel>
</rss>

