Sub qqq1()
Dim retCoord() As Double
Dim obj As AcadEntity
Dim path As AcadLWPolyline
Dim i As Integer
i = 0
Dim a As Variant
Dim b As Variant
ThisDrawing.Utility.GetEntity obj, a, "选择复制对象:"
ThisDrawing.Utility.GetEntity path, b, "选择多段线:"
ThisDrawing.SendCommand "_arraypath" & vbCr & a & vbCr & "P"