AnsweredAssumed Answered

Arcpy to entire dataframe

Question asked by sarmour on Jan 27, 2015
Latest reply on Jan 28, 2015 by bixb0012

Hi,

 

I'm quite new to arcpy. I found a way to remove all of the layers in a dataframe using arcpy, but i still see the dataframe border on the maps. Is there a way to remove an entire dataframe or remove the dataframe border using arcpy?

 

Here is my code:

                for lyr in arcpy.mapping.ListLayers(mxd, "", df):

                    arcpy.mapping.RemoveLayer(df,lyr)

 

Thanks!

Shane

Outcomes