0 Replies Latest reply on Jan 11, 2018 6:46 AM by Darren Gilbertson

    SDK Downstream trace results IMMTraceElements in network order

    Darren Gilbertson

      We are in the process of building a downstream trace in code using the ArcFM SDK. For the trace algorithm (C#) we used the answer to "Spatial Analysis between Meters and Transformers" (a question asked by Mike Tulis from Medicine Hat Electric Utility) answered by Francesco Giovinazzo. The question that we have is whether we can get the results of the ArcFM Downstream Trace (IMMTracedElements - traced junctions and edges) in the network order (transformer connected to underground cable, underground cable connected to switch, switch connected to overhead wire, et-cetera). We are tracing downstream from our substation dynamic protective devices through all the network elements connected to feeder.

       

      //executing the trace

      elecTrace.TraceDownstream(pNetClass.GeometricNetwork,

        pSettingEx,

        cs,

        EID,

        esriElementType.esriETJunction,

        SetOfPhases.abc,

        mmDirectionInfo.establishBySourceSearch,

        0,

        esriElementType.esriETJunction,

        barrierJncts,

        barrierEdges,

        true,

        out tracedJcts,

        out tracedEdgs);