Hi community,
I'm working in ArcGIS Pro with an Electric Utility Network, and my goal is:
To perform a "Connected" trace starting from each transformer, and assign the resulting connected electrical nodes (from a layer generated using line endpoints) to two fields: Node1 and Node2.
What I need is to associate nodes even if there's no direct spatial relationship (e.g., when there's a segment of line without geometry between the transformer and the node). That's why a simple spatial join is not suitable in my case.
What I've done so far:
I created a layer called ElectricLine_Nodes using FeatureVerticesToPoints on the Medium Voltage Connector line layer.
I assigned each node a ParentGLOBALID from the original line feature.
I copied the Transformer layer into Transformer_2 so I could freely edit and populate new fields.
I attempted to use arcpy.un.Trace, using the OBJECTID of each transformer as the starting point, within the "Electric" domain and "Essential 002" tier.
I processed the results returned by the trace (elements > features) and filtered the ones coming from the ElectricLine_Nodes layer.