It's far more complicated than that unfortunately. The electrictraceweight field is interpreted as binary rather the decimal representation that you see displayed (the decimal representation is quite meaningless). Each bit of the 32bit binary number represents a piece of information.
If you have ArcFM Server up and running it provides a nice web service (REST API) interface that may help with what you are trying to achieve. For example you can perform a downstream trace and return the results as a JSON string that you could do something with.
Thank you very much for your very prompt reply. I was surprise when I received the notification because your name is the same name with the Filipino-Brit Goal Keeper whom I follow. Anyways, we don't have ArcFM server yet, what we have is only ArcGIS Server.
However you give me an idea of creating several layers saved in .mxd that is an output of Trace Downstream from ArcFM Desktop. We'll then publish the data to our ArcGIS server. However I don't think it can be automated and its a lot of work to do. But I would like to try it.
Hi Sherwin, I think this is a good day for multiple Neils to assist you here. Have you tried simply calling the ArcFM trace routing programmatically? Here's a link to one way to trace downstream.
I'm CCing James Wright here. He might be able to answer a few more questions as well.