Page Definition and arcpy

1156
3
Jump to solution
02-22-2017 08:13 AM
MarkBinder
Occasional Contributor

Is there a way to enable the Page Definition Query using arcpy? Ideally I would like to insert a string into a layer's Definition Query, then enable Page Definition.

0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Esteemed Contributor

I don't see anything, but the help link for Arcpy is here in case I missed something

View solution in original post

0 Kudos
3 Replies
DanPatterson_Retired
MVP Esteemed Contributor

I don't see anything, but the help link for Arcpy is here in case I missed something

0 Kudos
MarkBinder
Occasional Contributor

I didn't see anything either. I thought it was worth a shot posting in case someone else had figured it out.

Thanks!

0 Kudos
DarrenWiens2
MVP Honored Contributor

It's not as easy as just setting the page definition query once, but if you're using arcpy to export the DDP anyhow, you could just change the definition query before exporting, for each page.

0 Kudos