- Dim Line As AcadLine
- For i = 0 to 2
- point_temp1(0) = Zheng_GK(i): point_temp1(1) = 0: point_temp1(2) = 0
- point_temp2(0) = 0 : point_temp2(1) = Ce_GK(i): point_temp2(2) = 0
- Set line = ThisDrawing.ModelSpace.AddLine(point_temp1, point_temp2)
- line.TrueColor = color
- line.TransformBy transmatrix(i)
- line.Update
- Next i
这样貌似就可以了吧 |