Multiple definition query to multiple feature classes in ArcMap 10.1.

1426
2
04-05-2018 12:27 AM
MahizharasanSrinivasan1
New Contributor

I want to apply multiple definition query to multiple feature classes in ArcMap 10.1. Is there any option to do that in one go?

0 Kudos
2 Replies
XanderBakker
Esri Esteemed Contributor

Can you reveal a little more about your use case? Do you want to apply multiple definition queries to each featureclass ( for instance to create multiple maps) or do you have a set of definition queries and each query should be applied to a specific layer?

You will probably want to use ListLayers—Help | ArcGIS Desktop to get to the layers and the Layer—Help | ArcGIS Desktop class has a definitionQuery property which can be set. 

What logic do you have to set the query definition to a layer and what will you be using as input? The queries are stored somewhere?

0 Kudos
RobertBorchert
Frequent Contributor III

I made this as a suggestion 6 or 7 years ago. I would love to see the ability to create a Group Definition Query.

At this time the answer is not likely. Unless someone comes up with a python script for it. But it make take longer to write that than to simply do it in Catalog.

0 Kudos