Hi ,
I am working on adding connectivity rules to an empty Utility Network DataSet. I found that might have some error.
I used the Add Rule Tools to Add the first connectivity rules into UN Dataset, after successfully add the rule, I found that in the UN Propertity, the rule's FROM ASSET TYPE and TO ASSET TYPE is exchanged.
Then I used arcpy to add the same connectivity rule to UN Dataset, error comes that the rule is existing.
What's reason about that? I appreciate any help with this.
Solved! Go to Solution.
I do not know why it swap it, but it does not matter. EJE the order of edges do not matter.
I do not know why it swap it, but it does not matter. EJE the order of edges do not matter.
Hi,
I encountered the same problem. Is it possible that this is a software bug? Or is this just how UN is designed?
The order of the from/to edges doesn't matter, so because you've added the rule to the UN using the GP tool it will fail when you attempt to create a duplicate rule using Python. If you add a new rule using Python it will work.
Finally, if you have many rules you need to add you should consider creating a CSV defining all of them then using the Import rules tool to import them all at once.
hey dear,
it is clearly saying, this rule is already exist in your UN. please check