Select to view content in your preferred language

Apply attribute rules on multiple feature classes

1030
3
Jump to solution
08-30-2022 08:45 AM
SachinChand
Regular Contributor

I currently work with ArcMap and Attribute Assistant.  Looking at Pro and Attribute Rules, is there a way to apply a rule to all feature classes in a map?  Or does each rule have to be applied individually to each feature class?

For example, in attribute assistant, I could use the asterisk symbol in the TABLENAME field of the dynamic value table to apply a rule to all feature classes.  How would I do that in attribute rules?

0 Kudos
2 Solutions

Accepted Solutions
Jake_S
by Esri Contributor
Esri Contributor

@SachinChand there is not an integrated way to apply attribute rules to multiple feature classes in the way you describe. 

There are two options that may or may not be useful to you. Both require a rule to be applied to a feature class and then exported as a CSV, once you have that you can either:

1.  Use model builder to iterate over features of a workspace to apply the Attribute Rule 
2022-08-30_11-39-12.jpg

2. use python to do the same thing iterating over a list of features. 

View solution in original post

Jake_S
by Esri Contributor
Esri Contributor
3 Replies
Jake_S
by Esri Contributor
Esri Contributor

@SachinChand there is not an integrated way to apply attribute rules to multiple feature classes in the way you describe. 

There are two options that may or may not be useful to you. Both require a rule to be applied to a feature class and then exported as a CSV, once you have that you can either:

1.  Use model builder to iterate over features of a workspace to apply the Attribute Rule 
2022-08-30_11-39-12.jpg

2. use python to do the same thing iterating over a list of features. 

SachinChand
Regular Contributor

Thank you!

0 Kudos
Jake_S
by Esri Contributor
Esri Contributor

Most welcome.