Select to view content in your preferred language

Allow the creation of attribute rules via. ArcPy

165
3
Tuesday
Status: Already Offered
Labels (1)
AJR
by
Frequent Contributor

Attribute rules are great, but the access to them from arcpy is all read-only.  If I need to create/modify an attribute rule that applies to tens (or hundreds) of feature classes in my geodatabase, doing that via. the UI is super cumbersome.  Being able to script the creation of attribute rules via. arcpy would be one more step in making geodatabase administration a little bit easier.  Please add it in an upcoming ArcGIS Pro release.

https://doc.esri.com/en/arcgis-pro/latest/arcpy/functions/attribute-rule-properties.html

3 Comments
CraigWilliams

The tools in the Attribute Rules toolset can be called via Python for automating creation and changing values.

AJR
by

Perfect!  Thanks Craig!

CraigWilliams
Status changed to: Already Offered