It appears that I ran into the same question. Did you figure out how to do it using arcpy?
import arcpy topology_path = 'path1' layerfile_path = 'path2' mxd = arcpy.mapping.MapDocument('current') df = arcpy.mapping.ListDataFrames(mxd)[0] layer = arcpy.mapping.Layer(layerfile_path) arcpy.mapping.AddLayer(df, layer)
arcpy.env.workspace
arcpy.mapping.MakeFeatureLayer
arcpy.mapping.Layer
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.