Printing Data Driven Pages While Toggling Layers Off and On

3253
4
03-29-2012 11:57 AM
JonSommerville1
New Contributor II
So, I have a single .mxd with several data driven pages set up. While the data driven pages are printing, I want specific layers to turn off or on depending on the page. Is there any way to do that?
0 Kudos
4 Replies
JohnSobetzer
Frequent Contributor
After setting up a Data Driven Pages project look at the Page Definition option in the Definition Query tab of a Layer's Properties.
0 Kudos
DanPatterson_Retired
MVP Emeritus
If you want to code this check out the Layer class within the data driven pages section
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Layer/00s300000008000000/
there is a read/write visible property
0 Kudos
KirstenLawrence
New Contributor III
If you want to code this check out the Layer class within the data driven pages section
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Layer/00s300000008000000/
there is a read/write visible property


I want to be able to turn off and on different layers with each mapbook page - I am working in 10.0. Easy way to do this? Page definition queries won't work since I have a series of different rasters i want to show.
0 Kudos
JohnSobetzer
Frequent Contributor
Kirsten, here's what one person did with DDP: http://forums.arcgis.com/threads/25826-Constant-extent-with-Data-Driven-Pages

As noted in that link, the best solution would probably be your own scripting using arcpy.  See http://blogs.esri.com/esri/arcgis/2010/12/14/combining-data-driven-pages-with-python-and-arcpy-mappi....  Also see http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s90000002s000000.htm for Thematic Book.  Sorry, I don't have any code to offer.  If you search on Thematic Data Driven Pages you will get more.

If you have 9x on a computer I think there was an Arcscript called Map Atlas that would do what you wanted.  I have no idea if you could find a way to install that on a 10x machine although you might try.  If it requires VBA you could get the free extension installed and then try installing Map Atlas.
0 Kudos