0

I was wondering if there is a way to add coding to Data Driven Pages with python.

I would like to be able to take the "Data Driven Page with Count" and increment the count by one or in some cases two.

For example, I have 10 data driven pages and need to add two more pages to the series i.e. making the final count 12 pages.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Jul 16, 2014 at 12:51
2

1 Answer 1

2

If you are adding additional pages outside of ArcGIS and will be packaging your pages together later, one possible and easy solution would be to add 2 to the PageNumber attribute in your table in ArcGIS.

You could easily accomplish this in field calculator with:

!YourField! + 2

And then you could add dynamic text from the data driven pages toolbar>> Page Text>> Data Driven Page Attribute. Choose the PageNumber attribute. Double click on the text. And change it to something like this:

Page <dyn type="page" property="attribute" field="PageNumber" domainlookup="true"/> of 12

This will output Page #+2 of 12

answered Jul 16, 2014 at 14:08

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.