Reading network attributes directly from a Utility Network connected trace ElementResult object

1177
1
Jump to solution
11-19-2022 12:48 PM
EugeneLamnek
New Contributor

Using ArcGIS Pro 2.9.5 to implement a water utility network trace via TraceManager (not geoprocessing).

The trace returns an ElementResult object, from which elements can be read. Each element returns asset group, asset type, objectID etc. I have some network attributes defined on the network and was wondering if there is a way to query the network attributes without the overhead of querying the source feature classes directly (as per FetchRowFromElement example from ProConcepts Utility Network · Esri/arcgis-pro-sdk Wiki · GitHub) .

Network attributes are equivalent to weights in geometric network, which can be queried from a trace result using INetAttributes::GetWeightValue, but I can't find a similar method of doing this in utility networks.

Anyone manage to implement this? or is this something that will be in a future release?

0 Kudos
1 Solution

Accepted Solutions
Aashis
by Esri Contributor
Esri Contributor

Yes, this feature is planned for future release.

View solution in original post

0 Kudos
1 Reply
Aashis
by Esri Contributor
Esri Contributor

Yes, this feature is planned for future release.

0 Kudos