<?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 Listing Featureclasses in a Geometric Network in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/listing-featureclasses-in-a-geometric-network/m-p/136107#M10687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm currently using ArcView 9.2 (no extensions), and trying to list the featureclasses of a geometric network stored in a file geodatabase.&lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;gp.workspace = featuredataset
FCs = gp.listdatasets()
FC = FCs.next()
while FC:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print FC
&amp;nbsp;&amp;nbsp;&amp;nbsp; FC = FCs.next()&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Only returns the name of the geometric network. How can I get to the list of featureclasses in the same featuredataset?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jul 2011 15:21:02 GMT</pubDate>
    <dc:creator>BruceNielsen</dc:creator>
    <dc:date>2011-07-01T15:21:02Z</dc:date>
    <item>
      <title>Listing Featureclasses in a Geometric Network</title>
      <link>https://community.esri.com/t5/python-questions/listing-featureclasses-in-a-geometric-network/m-p/136107#M10687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm currently using ArcView 9.2 (no extensions), and trying to list the featureclasses of a geometric network stored in a file geodatabase.&lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;gp.workspace = featuredataset
FCs = gp.listdatasets()
FC = FCs.next()
while FC:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print FC
&amp;nbsp;&amp;nbsp;&amp;nbsp; FC = FCs.next()&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Only returns the name of the geometric network. How can I get to the list of featureclasses in the same featuredataset?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2011 15:21:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/listing-featureclasses-in-a-geometric-network/m-p/136107#M10687</guid>
      <dc:creator>BruceNielsen</dc:creator>
      <dc:date>2011-07-01T15:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Listing Featureclasses in a Geometric Network</title>
      <link>https://community.esri.com/t5/python-questions/listing-featureclasses-in-a-geometric-network/m-p/136108#M10688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;lt;headslap&amp;gt; I was confusing featureclasses and featuredatasets (again).&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;gp.workspace = featuredataset
FCs = gp.listfeatureclasses()
FC = FCs.next()
while FC:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print FC
&amp;nbsp;&amp;nbsp;&amp;nbsp; FC = FCs.next()&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Works as it should. Sorry to waste your bandwidth.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:34:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/listing-featureclasses-in-a-geometric-network/m-p/136108#M10688</guid>
      <dc:creator>BruceNielsen</dc:creator>
      <dc:date>2021-12-11T07:34:55Z</dc:date>
    </item>
  </channel>
</rss>

