Select to view content in your preferred language

Allow users to load a topology rule set (.rul) via arcpy/Toolbox/etc...

1108
4
07-14-2011 03:24 PM
Status: Under Consideration
Labels (1)
ShawnaErnst
Frequent Contributor

We need to programmatically load Topology rules to a feature dataset nightly.  We do this because our control layer is managed by a different organization- so we have to copy in changes.  To copy in changes, we first have to remove the existing topology- then bring in changes- then load rules.  We'd love it if we could load our whole rule set (.rul) via Python. 

Thanks for your consideration.

4 Comments
RamiBader1
We all need this function smart idea.
Waan
by

Unlike the manual GUI-based process of creating a geodatabase topology, arcpy's Add Topology Rule tool apparently cannot import rules from a .rul file. I am also not aware of any ability for arcpy to read or export geodatabase rules to a .rul file. (The .rul file contains topology rules and can be exported and import to/from geodatabase topologies using ArcGIS Pro.)

Please add the ability for arcpy to also read, import, and export rules from/to a .rul file (or a similar file format, e.g. text, json, etc.) as this would simplify creating and maintaining topologies.

Topology rules.PNG

SSWoodward
Status changed to: Under Consideration
 
SSWoodward
Status changed to: Under Consideration