NodesFromEdges

Created:9/12/2002
Description:

The NodesFromEdges command will add to the selected set of topology the nodes at the from or to end of the selected edges.

A good time to use this tool is when you want to move a line of edges. In most cases you will want to move the nodes along with the edges. Running this command against a selected set of edges will insure you have all the associated nodes selected before performing the move.


How to use:
  1. In the Customize dialog, click on 'Add from file' and select this sample's dll.
  2. Under the Commands tab of the Customize dialog, select the Select Nodes Associated With Edges command from the 'Developer Samples' category, and drag it on to a toolbar (preferably the Topology Edit Tool Context Menu). Dismiss the Customize dialog.
  3. Begin editing and select one or more edges with the Topology Edit Tool (holding down the "e" key while draging a box will allow only edges to be selected).
  4. Click on the Select Nodes Associated With Edges command to select the nodes connected to the selected edges.

Application:
ArcMap

Requires: Editable topology data

Minimum ArcGIS Version Required: 8.3

Difficulty: Beginner


Visual Basic
File Description
NodesFromEdges.cls Class containing the code for the NodesFromEdges command.
NodesFromEdgesPrj.vbp The project file for the NodesFromEdges command.


Key CoClasses: TopologyEdge, TopologyGraph, TopologyNode
Key Interfaces: ITopologyEdge, ITopologyGraph, ITopologyNode
Key Members: ITopologyEdge::FromNode, ITopologyEdge::ToNode, ITopologyGraph::EdgeSelection, ITopologyGraph::Select, ITopologyNode::IsSelected