Hello everybody. I apologize if I re-open this discussion after several months.
With the following code I have selected the line. Now how do I change the coordinates of the end point of the line?
Hi, thank you very much.
Private Sub B_Select_Click(sender As Object, e As EventArgs) Handles B_Select.Click
Dim doc As Document = Application.DocumentManager.MdiActiveDocument
Dim ed As Editor = doc.Editor
Dim tvs() As TypedValue
tvs = New TypedValue() {
New TypedValue(DxfCode.Operator, "<or"),
New TypedValue(DxfCode.Operator, "<and"),
New TypedValue(DxfCode.Start, "CIRCLE"),
New TypedValue(DxfCode.Operator, ">="),
New TypedValue(DxfCode.Real, 10.0),
New TypedValue(DxfCode.Operator, "and>"),
New TypedValue(DxfCode.Operator, "or>")
}
Dim sf As SelectionFilter = New SelectionFilter(tvs)
Dim psr As PromptSelectionResult = ed.SelectAll(sf)
ed.WriteMessage("Id Object: " & psr.Value.GetObjectIds(0).ToString)
End Sub