![]() |
This document is archived and information here might be outdated. Recommended version. |
The index of the current segment of the sketch.
[Visual Basic .NET]
Public ReadOnly Property Segment As Integer
[C#]
public int Segment {get;}
You must right-click on the desired segment in the edit sketch to set this property correctly. The wrong segment index will be returned if you do not right-click on the desired segment beforehand. A value of -1 indicates no segment has been selected. For example, if your last right-click was on an edit sketch vertex, the Segment property will return a value of -1.
IEditSketch Interface | IEditSketch.Vertex Property | IEditSketch.Part Property