This document is archived and information here might be outdated. Recommended version. |
Is a vertex selected.
[Visual Basic .NET]
Public Function IsVertexSelected ( _
ByVal Part As Integer, _
ByVal Vertex As Integer _
) As Boolean
[C#]
public bool IsVertexSelected (
int Part,
int Vertex
);
IEditSketch3 editSketch3 = m_editor as IEditSketch3;
IFeature feature = m_fCArr[0].GetFeature(23);
//make sure no vertices are selected to start.
editSketch3.ClearSelectedVertices();
//call the SelectVertex method to select a vertex.
editSketch3.SelectVertex(0, 5);
editSketch3.SelectVertex(0, 20);
//Test to see if one of the selected vertices is selected.
editSketch3.IsVertexSelected(0, 20);