AnsweredAssumed Answered

python script tool to order layers in a map

Question asked by tshindler on Dec 2, 2015
Latest reply on Dec 2, 2015 by dkwiens

I would like to create several python scripts that can be attached to buttons on an ArcMap toolbar.


I would like each script to define the order, visibility, and legend visibility of all the layers in the map (by layer name). I would especially like it if I could use python lists to do this.


My goal is to replicate the functionality of the old "Theme Organizer" extension to Arcview3. It allowed a layer arrangement to be defined and selected from a menu, so that a single base map could be turned into several different thematic maps with a simple menu selection. Enhancements done to a single map project can then be reflected in all the flavors of maps defined by the order, visibility, and legend visibility of the map layers.