[原创]SendCommand--三点划弧
<p>Sub ls()<br/> Dim aa As AcadArc<br/> Dim pp(0 To 2) As Double, ppp(0 To 2) As Double, pppp(0 To 2) As Double<br/> pp(0) = 100: pp(1) = 10: pp(2) = 0<br/> ppp(0) = -10: ppp(1) = 100: ppp(2) = 0<br/> pppp(0) = -200: pppp(1) = -110: pppp(2) = 0</p><p> ThisDrawing.SendCommand "_arc (list " & pp(0) & " " & pp(1) & " " & pp(2) & ")" & vbCr _<br/> & "(list " & ppp(0) & " " & ppp(1) & " " & ppp(2) & ")" & vbCr _<br/> & "(list " & pppp(0) & " " & pppp(1) & " " & pppp(2) & ")" & vbCr<br/>End Sub<br/></p> <p>高,不过这种三点的方法我很少用,我还是喜欢指定中心点的。</p> 谢谢分享~~~ 自己写一个三点画弧的函数不就可以吗 改写一下啊addarc方法 SendCommand 的缺点是命令栏里显示一大堆文字,而且取得画完的对象,还得用其它的方法 回帖是一种美德!感谢楼主的无私分享 谢谢
页:
[1]