ArcFM Desktop Developer Guide
FindTap 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
Takes the ID of the edge on which the click point is placed
Takes a boolean value indicating whether to identify the tap point automatically; this parameter takes a value from the Phase Swap options dialog. True = automatic; False = manual
Returns the ID of the tap point junction (as Integer)
Returns the ID of the first downstream edge (as Integer) encountered by Phase Swap; this indicates the direction of the phase swap
Returns a value from the SetOfPhases enumeration that indicates the phases available at the tap point. This value also determines the value "swap to" values. For example, if this parameter is AC, then B cannot be a valid swap to value.
Use this method to identify the tap point for the swap. The tap point determines where the phase swap begins.
Syntax
'Declaration
 
Public Sub FindTap( _
   ByVal geometricNW As ESRI.ArcGIS.Geodatabase.IGeometricNetwork, _
   ByVal MMElectricTraceWeightID As Integer, _
   ByVal startEdgeEID As Integer, _
   ByVal bUseAutoTapFindMethod As Boolean, _
   ByRef tapJunctionEID As Integer, _
   ByRef firstDownstreamEdgeEID As Integer, _
   ByRef phasesAvailableAtTap As SetOfPhases _
) 
'Usage
 
Dim instance As PhaseSwapTrace
Dim geometricNW As ESRI.ArcGIS.Geodatabase.IGeometricNetwork
Dim MMElectricTraceWeightID As Integer
Dim startEdgeEID As Integer
Dim bUseAutoTapFindMethod As Boolean
Dim tapJunctionEID As Integer
Dim firstDownstreamEdgeEID As Integer
Dim phasesAvailableAtTap As SetOfPhases
 
instance.FindTap(geometricNW, MMElectricTraceWeightID, startEdgeEID, bUseAutoTapFindMethod, tapJunctionEID, firstDownstreamEdgeEID, phasesAvailableAtTap)
public void FindTap( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork geometricNW,
   int MMElectricTraceWeightID,
   int startEdgeEID,
   bool bUseAutoTapFindMethod,
   out int tapJunctionEID,
   out int firstDownstreamEdgeEID,
   out SetOfPhases phasesAvailableAtTap
)

Parameters

geometricNW
Takes the geometric network in which the features reside (as IGeometricNetwork)
MMElectricTraceWeightID
Takes the electric trace weight ID as integer
startEdgeEID
Takes the ID of the edge on which the click point is placed
bUseAutoTapFindMethod
Takes a boolean value indicating whether to identify the tap point automatically; this parameter takes a value from the Phase Swap options dialog. True = automatic; False = manual
tapJunctionEID
Returns the ID of the tap point junction (as Integer)
firstDownstreamEdgeEID
Returns the ID of the first downstream edge (as Integer) encountered by Phase Swap; this indicates the direction of the phase swap
phasesAvailableAtTap
Returns a value from the SetOfPhases enumeration that indicates the phases available at the tap point. This value also determines the value "swap to" values. For example, if this parameter is AC, then B cannot be a valid swap to value.
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