Select to view content in your preferred language

Connectivity Rules Questions

197
4
Jump to solution
2 weeks ago
testnew
New Contributor

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. 

testnew_0-1758611853778.png

      Then I used arcpy to add the same connectivity rule to UN Dataset, error comes that the rule is existing.

testnew_1-1758611953093.png

 

     What's reason about that?   I appreciate any help with this.  

 

0 Kudos
1 Solution

Accepted Solutions
MikeMillerGIS
Esri Frequent Contributor

I do not know why it swap it, but it does not matter.  EJE the order of edges do not matter.

View solution in original post

0 Kudos
4 Replies
MikeMillerGIS
Esri Frequent Contributor

I do not know why it swap it, but it does not matter.  EJE the order of edges do not matter.

0 Kudos
Werk
by
Emerging Contributor

Hi, 
I encountered the same problem. Is it possible that this is a software bug? Or is this just how UN is designed?

0 Kudos
RobertKrisher
Esri Regular Contributor

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.

0 Kudos
VeerSingh
Emerging Contributor

hey dear,

it is clearly saying, this rule is already exist in your UN. please check

VEERSINGH_0-1758653219355.png

 

Thanks
Veer
0 Kudos