<?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: How to check if topology is enabled using Python? in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/how-to-check-if-topology-is-enabled-using-python/m-p/200449#M177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Paul.&amp;nbsp; Perfect!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jan 2020 01:17:39 GMT</pubDate>
    <dc:creator>NeilEtheridge</dc:creator>
    <dc:date>2020-01-10T01:17:39Z</dc:date>
    <item>
      <title>How to check if topology is enabled using Python?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/how-to-check-if-topology-is-enabled-using-python/m-p/200447#M175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to tell if topology is enabled on a Utility Network using Python?&amp;nbsp; It would seem using Describe on the Utility Network should give this information - there is loads of information about the network but this seems to be missing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation&amp;nbsp;for Describe on a Utility Network &lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/functions/utility-network-properties.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/functions/utility-network-properties.htm"&gt;Utility Network Properties—ArcPy Functions | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;shows printing a property called "properties" (d.properties) which just returns&amp;nbsp;&amp;lt;geoprocessing describe data object object at 0x000001FE8EC06650&amp;gt; but is omitted from being listed in the table of Properties on this page so you don't know what attributes this object supports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When topology is disabled there is a single Dirty Area and I thought this would be another way to check but I'm not sure how to get a count of the Dirty Areas either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 00:30:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/how-to-check-if-topology-is-enabled-using-python/m-p/200447#M175</guid>
      <dc:creator>NeilEtheridge</dc:creator>
      <dc:date>2020-01-10T00:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if topology is enabled using Python?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/how-to-check-if-topology-is-enabled-using-python/m-p/200448#M176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In short:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;arcgisscripting
un = arcgisscripting.un.UtilityNetwork(&lt;SPAN style="color: #94558d;"&gt;'&amp;lt;path to UN&amp;gt;'&lt;/SPAN&gt;)
&lt;SPAN style="color: #cc7832;"&gt;return &lt;/SPAN&gt;un.HasValidNetworkTopology()&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long explanation:&lt;/P&gt;&lt;P&gt;This information is not accessible from arcpy.Describe() because it is not stored in the DataElement (XML). The topology state (among other properties) is stored in the internal properties table of the UN.&lt;/P&gt;&lt;P&gt;All of the hidden UN tables should be accessible via python (you need direct access to the database though). They follow the form:&lt;/P&gt;&lt;P&gt;UN_&amp;lt;DSID&amp;gt;_&amp;lt;table name&amp;gt; where the DSID is the dataset ID of the UN itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:59:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/how-to-check-if-topology-is-enabled-using-python/m-p/200448#M176</guid>
      <dc:creator>PaulLeBlanc1</dc:creator>
      <dc:date>2021-12-11T09:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if topology is enabled using Python?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/how-to-check-if-topology-is-enabled-using-python/m-p/200449#M177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Paul.&amp;nbsp; Perfect!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 01:17:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/how-to-check-if-topology-is-enabled-using-python/m-p/200449#M177</guid>
      <dc:creator>NeilEtheridge</dc:creator>
      <dc:date>2020-01-10T01:17:39Z</dc:date>
    </item>
  </channel>
</rss>

