Valence Display



Description:

The Valence Display tool helps in finding network connectivity errors by displaying the number of edges connected to each visible simple junction feature. Since the command uses the AfterDraw event of the Map for displaying the text, it needs to be registered as an MxExtension.
Products:
ArcView: VB6

Platforms: Windows

Requires: A geometric network.

Minimum ArcGIS Release: 9.0

How to use:
  1. Start an ArcMap session and add feature classes that participate in a geometric network.
  2. Browse and select the ValenceAllPrj.dll using the 'Add From File' button on the customization dialog.
  3. From the 'Developer Samples' commands category, add the 'Display Valence' command to an existing toolbar.
  4. Click on the button to toggle the display of valence information on.
  5. Click on the button a second time to turn the valence display off.

Download the VB6 files
ValenceAll.cls Class for displaying valence information for each visible simple junction.
frmResources.frm Form containing the command button icons.
frmResources.frx Form binary file.
ValenceAllPrj.vbp The project file for the Valence Display command.
ValenceAllPrj.dll The compiled Solve and Zoom command.

Download the files for all languages



Key Libraries: GeoDatabase, Display
Key CoClasses:SimpleJunctionFeature, Map
Key Interfaces: ISimpleJunctionFeature, INetTopology, IFeature, IDisplay
Key Members:INetTopology::GetAdjacentEdgeCount, IDisplay::DrawText