Select to view content in your preferred language

Provide a python tool create associations between Utility Network assets

82
0
a week ago
Status: Open
EstherSmith_Dev
New Contributor III

ArcGIS Utility Network has a concept called "associations" to create a relationship between assets without a need for relationship class. But there is no ArcGIS Pro Python tool for it. Instead of developers trying to figure out the details about the Associations layer (500001), network source ids etc and then calling addFeatures or applyEdits REST API, will it be better if there is coarse-grained arcpy class/method e.g.

arcpy.un.CreateAssociation(in_utility_network, association_type, from_layer, from_global_id, to_layer, to_global_id, from_terminal(optional), to_terminal(optional)) 

A simple tool for adding a "pole" and a "streetlight" that is "structurally associated" to the pole in a branch version causes lot of coding without such tool.

Tags (2)