AddXLine Пример |
Sub Example_AddXLine() ' Этот пример создает XLine в пространстве модели. Dim xlineObj As AcadXline Dim basePoint(0 To 2) As Double Dim directionVec(0 To 2) As Double ' Определите прямую basePoint(0) = 2#: basePoint(1) = 2#: basePoint(2) = 0# directionVec(0) = 1#: directionVec(1) = 1#: directionVec(2) = 0# ' Создайте прямую в пространстве модели Set xlineObj = ThisDrawing.ModelSpace.AddXline(basePoint, directionVec) ZoomAll End Sub