selectMidVertex

fun selectMidVertex(partIndex: Int, segmentIndex: Int)

Selects the mid-vertex with the specified indices. Mid-vertices do not exist in the GeometryEditor.geometry. They exist only in the display to serve as a visual cue that new vertices can be inserted between existing vertices. Since they do not exist in the geometry, mid-vertices cannot be programmatically moved or deleted. They can be used to insert a new vertex interactively.

When a mid-vertex is selected, a GeometryEditorMidVertex is returned from GeometryEditor.selectedElement.

Since

200.1.0

See also

Throws

if the geometry editor is not started

if any of the given indices are out of range for the current geometry