I wrote a script that exports rules from each feature class in a database, but it creates files even when a feature class has no rules.
I need to be able to tell if there are rules attached to a feature class, like ListFeatureClasses or ListDomains
There are methods Add and Alter rules but you have to know the name of a rule to do those operatoins.
How can I list??
Solved! Go to Solution.
I found this old post in ArcGIS Pro by @JakeSkinner
Seems I commented on it 2 years ago too!!
Short answer, there is an undocumented property when you do "Describe"
It returns a list of rules or an empty list of there are none defined on that feature class.
I found this old post in ArcGIS Pro by @JakeSkinner
Seems I commented on it 2 years ago too!!
Short answer, there is an undocumented property when you do "Describe"
It returns a list of rules or an empty list of there are none defined on that feature class.