Private Sub AcadDocument_BeginDoubleClick(ByVal PickPoint As Variant)
Dim Bp, Ep As Variant
Bp = ThisDrawing.Utility.GetPoint(, "选择端点: ")
Ep = ThisDrawing.Utility.GetPoint(Bp, "选择终点: ")
Dim obj As AcadLine
Set obj = ThisDrawing.ModelSpace.AddLine(Bp, Ep)
End Sub