Select to view content in your preferred language

How to display the polyline vertices for edition ?

2793
1
11-07-2013 01:46 AM
AxelAUROUET
New Contributor
Hello everybody,

I work on a project : when the user clicks on a polyline feature, the vertices of this polyline are displayed. It's like the user double click on the line with the editing tool.

The editing session is opened. I select my feature but I don't kow how display vertices. I have tried to use IScreenDisplay.DrawPoint but it's not selectable. I really want to display vertices like vertices and not like elements. I tried with IEditProperties4.ActiveSketchVertices but it doesn't work too :(.

So I have a Point Collection (from the polyline). And now ? What I must do ? What are the interfaces ?

Any idea ?

Thanks in advance for your response,
Best regards
Rory
Tags (2)
0 Kudos
1 Reply
AxelAUROUET
New Contributor
Hello,

Finally, I found the solution :

                            m_pEditSketchVertex.Geometry = pPointCollection as IGeometry;

Best regards,

Rory
0 Kudos