ArcFM Desktop Developer Guide
SwapPhase Method


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Geometric network in which the feature resides.

The IMMPhaseSwapMap object (or phase map) that indicates how the phases should be swapped.

The IDs of the edges to be swapped.
The IDs of the junctions to be swapped.
Swaps the phase of the selected feature(s) given the geometric network, phase map, and feature ID(s).
Syntax
'Declaration
 
Public Sub SwapPhase( _
   ByVal geometricNW As ESRI.ArcGIS.Geodatabase.IGeometricNetwork, _
   ByVal pPhaseMap As IMMPhaseSwapMap, _
   ByVal pEdgeEIDs As ESRI.ArcGIS.Geodatabase.IEnumNetEID, _
   ByVal pJunctionEIDs As ESRI.ArcGIS.Geodatabase.IEnumNetEID _
) 
'Usage
 
Dim instance As PhaseSwapTrace
Dim geometricNW As ESRI.ArcGIS.Geodatabase.IGeometricNetwork
Dim pPhaseMap As IMMPhaseSwapMap
Dim pEdgeEIDs As ESRI.ArcGIS.Geodatabase.IEnumNetEID
Dim pJunctionEIDs As ESRI.ArcGIS.Geodatabase.IEnumNetEID
 
instance.SwapPhase(geometricNW, pPhaseMap, pEdgeEIDs, pJunctionEIDs)
public void SwapPhase( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork geometricNW,
   IMMPhaseSwapMap pPhaseMap,
   ESRI.ArcGIS.Geodatabase.IEnumNetEID pEdgeEIDs,
   ESRI.ArcGIS.Geodatabase.IEnumNetEID pJunctionEIDs
)

Parameters

geometricNW
Geometric network in which the feature resides.
pPhaseMap

The IMMPhaseSwapMap object (or phase map) that indicates how the phases should be swapped.

pEdgeEIDs
The IDs of the edges to be swapped.
pJunctionEIDs
The IDs of the junctions to be swapped.
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