ArcFM Desktop Developer Guide
TraceSwapSet Method


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Takes the geometric network in which the features reside (as IGeometricNetwork)
Takes the electric trace weight ID as integer
Passes in the ID (as Integer) of the junction identified as the tap point, or the starting point for the phase swap
Passes in the ID (as Integer) of the first downstream edge from the tap point; this indicates the direction of the phase swap
This method starts the phase swap. The GetTracedEIDs and GetTracedElements methods collect the results.
Syntax
'Declaration
 
Public Sub TraceSwapSet( _
   ByVal geometricNW As ESRI.ArcGIS.Geodatabase.IGeometricNetwork, _
   ByVal MMElectricTraceWeightID As Integer, _
   ByVal startJunctionEID As Integer, _
   ByVal firstDownstreamEdgeEID As Integer _
) 
'Usage
 
Dim instance As PhaseSwapTrace
Dim geometricNW As ESRI.ArcGIS.Geodatabase.IGeometricNetwork
Dim MMElectricTraceWeightID As Integer
Dim startJunctionEID As Integer
Dim firstDownstreamEdgeEID As Integer
 
instance.TraceSwapSet(geometricNW, MMElectricTraceWeightID, startJunctionEID, firstDownstreamEdgeEID)
public void TraceSwapSet( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork geometricNW,
   int MMElectricTraceWeightID,
   int startJunctionEID,
   int firstDownstreamEdgeEID
)

Parameters

geometricNW
Takes the geometric network in which the features reside (as IGeometricNetwork)
MMElectricTraceWeightID
Takes the electric trace weight ID as integer
startJunctionEID
Passes in the ID (as Integer) of the junction identified as the tap point, or the starting point for the phase swap
firstDownstreamEdgeEID
Passes in the ID (as Integer) of the first downstream edge from the tap point; this indicates the direction of the phase swap
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

PhaseSwapTrace Class
PhaseSwapTrace Members

 

 


Send Comment