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
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.