New answers tagged

0

You can simplify your code somewhat by using: df = self.mxd.activeDataFrame layer = r'G:\Gis\DATEN\wvdat\Querbauwerke\Fischaufstieg.lyr' if arcpy.Exists(layer): layerToAdd = arcpy.mapping.Layer(layer) arcpy.mapping.AddLayer(df, layerToAdd, 'TOP') else: warningButton = pythonaddins.MessageBox("warning") You might also want to set the mxd ...


1

If I understand correctly, you have a text element in your layout called Title. You'd like to replace the text of the element with variable titleList. I assume the value of the variable looks like "Exhibit 1;Exhibit 2;Exhibit 3". If you want all the titles in a single text element on different lines you could do something like this. The code below assumes ...


0

I figured out a great work around... Within the data driven pages attribute table: I select the pages in which the legend placement works and export only those pages. Then I move the legend to work for the other pages, switch my selection within the attribute table and export the new selection. In a perfect world I could individualize the layouts within ...


1

No, there isn't a way to do that unless you write your own code. Are you handy with arcpy? Barring that, what you could do is use a side panel for the legend, and decrease the size of your data frame slightly. Then you won't have anything sitting on top of your data. Also, do you have "Only show classes that are visible in current map extent" checked on ...


0

Go to View -> Layout, then go to Insert -> Dynamic Text -> Service Layer Credits. Move the credits outside the print margins, then switch back to Data View.



Top 50 recent answers are included