<?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 remove all topology layers from a  feature dataset in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-remove-all-topology-layers-from-a-feature/m-p/581856#M45593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just hard coded the name of the Topology FC and it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the saple I used to test:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Import arcpy module&lt;BR /&gt;import arcpy&lt;BR /&gt;# Local variables:&lt;BR /&gt;MyFC_Topology = "...\\FGDB.gdb\\MyFD\\MyFC_Topology"&lt;BR /&gt;# Process: Delete&lt;BR /&gt;arcpy.Delete_management(MyFC_Topology, "Topology")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2020 16:09:12 GMT</pubDate>
    <dc:creator>JoseSanchez</dc:creator>
    <dc:date>2020-01-29T16:09:12Z</dc:date>
    <item>
      <title>How to remove all topology layers from a  feature dataset</title>
      <link>https://community.esri.com/t5/python-questions/how-to-remove-all-topology-layers-from-a-feature/m-p/581854#M45591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to build a function in python that removes all topology layers from a&amp;nbsp; feature dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I check if a feature dataset has topology with arcpy,&amp;nbsp; and also how can&amp;nbsp;identify topology layers to delete them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 14:05:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-remove-all-topology-layers-from-a-feature/m-p/581854#M45591</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2020-01-29T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove all topology layers from a  feature dataset</title>
      <link>https://community.esri.com/t5/python-questions/how-to-remove-all-topology-layers-from-a-feature/m-p/581855#M45592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you taken a look here:&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/topologies/common-topology-tasks.htm" title="https://pro.arcgis.com/en/pro-app/help/data/topologies/common-topology-tasks.htm"&gt;Common topology tasks—Topologies | ArcGIS Desktop&lt;/A&gt;&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 15:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-remove-all-topology-layers-from-a-feature/m-p/581855#M45592</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-01-29T15:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove all topology layers from a  feature dataset</title>
      <link>https://community.esri.com/t5/python-questions/how-to-remove-all-topology-layers-from-a-feature/m-p/581856#M45593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just hard coded the name of the Topology FC and it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the saple I used to test:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Import arcpy module&lt;BR /&gt;import arcpy&lt;BR /&gt;# Local variables:&lt;BR /&gt;MyFC_Topology = "...\\FGDB.gdb\\MyFD\\MyFC_Topology"&lt;BR /&gt;# Process: Delete&lt;BR /&gt;arcpy.Delete_management(MyFC_Topology, "Topology")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 16:09:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-remove-all-topology-layers-from-a-feature/m-p/581856#M45593</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2020-01-29T16:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove all topology layers from a  feature dataset</title>
      <link>https://community.esri.com/t5/python-questions/how-to-remove-all-topology-layers-from-a-feature/m-p/581857#M45594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I took the liberty of using the Syntax highlighter to make your code more readable. (here is one of the many posts that describe using it:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-8691" target="_blank"&gt;Posting code with Syntax Highlighting on GeoNet&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# Import arcpy module&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="comment token"&gt;# Local variables:&lt;/SPAN&gt;
MyFC_Topology &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"...\\FGDB.gdb\\MyFD\\MyFC_Topology"&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Process: Delete&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Delete_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MyFC_Topology&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Topology"&lt;/SPAN&gt;&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears you are on you way...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:01:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-remove-all-topology-layers-from-a-feature/m-p/581857#M45594</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-12T01:01:05Z</dc:date>
    </item>
  </channel>
</rss>

