<?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 Add topology to map document using python? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/add-topology-to-map-document-using-python/m-p/233963#M8060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to use a python script to add a topology and its associated layers to a map document and update the associated layers' symbology with a lyr file.&amp;nbsp; I can figure out which layers go with the topology using Describe, but am getting errors trying to add the topology itself to the map:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;gt;&amp;gt;&amp;gt; mxd = arcpy.mapping.MapDocument("CURRENT")
&amp;gt;&amp;gt;&amp;gt; df = arcpy.mapping.ListDataFrames(mxd,"Layers")[0]
&amp;gt;&amp;gt;&amp;gt; arcpy.mapping.AddLayer(df,"tile_110og_Topology","BOTTOM")
Runtime error &amp;lt;type 'exceptions.AssertionError'&amp;gt;:
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this even possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2011 14:04:51 GMT</pubDate>
    <dc:creator>MarkJohnson</dc:creator>
    <dc:date>2011-10-19T14:04:51Z</dc:date>
    <item>
      <title>Add topology to map document using python?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/add-topology-to-map-document-using-python/m-p/233963#M8060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to use a python script to add a topology and its associated layers to a map document and update the associated layers' symbology with a lyr file.&amp;nbsp; I can figure out which layers go with the topology using Describe, but am getting errors trying to add the topology itself to the map:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;gt;&amp;gt;&amp;gt; mxd = arcpy.mapping.MapDocument("CURRENT")
&amp;gt;&amp;gt;&amp;gt; df = arcpy.mapping.ListDataFrames(mxd,"Layers")[0]
&amp;gt;&amp;gt;&amp;gt; arcpy.mapping.AddLayer(df,"tile_110og_Topology","BOTTOM")
Runtime error &amp;lt;type 'exceptions.AssertionError'&amp;gt;:
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this even possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 14:04:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/add-topology-to-map-document-using-python/m-p/233963#M8060</guid>
      <dc:creator>MarkJohnson</dc:creator>
      <dc:date>2011-10-19T14:04:51Z</dc:date>
    </item>
  </channel>
</rss>

