
CAD
Set ACADApp = GetObject(, AutoCAD.Application) Set ThisDrawing = ACADApp.ActiveDocument Dim Pline As ACADLine Dim ptSt(0 To 2) As Double Dim ptEn(0 To 2) As Double ptSt(0) = 100 ptSt(1) = 100 ptSt(2) = 0 ptEn(0) = 150 ptEn(1) = 100 ptEn(2) = 0 Set Pline = ThisDrawing.ModelSpace.AddLine(ptSt, ptEn)
Copyright © 2025 IZhiDa.com All Rights Reserved.
知答 版权所有 粤ICP备2023042255号