求程序
求标注弧长程序 我这有这个程序,联系:ljttjl @ tom.com <p>好像2006就有弧长标注命令了,我用2004</p><p>我从本论坛下载的</p><p>(defun c:yh(/ en pt len_data old_hc l new_hc len_data)<br/> (setq en (entsel "选弧: "))<br/> (setq pt (getpoint "定点: "))<br/> (command "dimangular" en pt) <br/> (setq len_data (entget (entlast)))<br/> (setq old_hc (assoc 1 len_data))<br/> (command "lengthen" (car en) "")<br/> (setq l (getvar "perimeter")) <br/> (setq new_hc (cons 1 (rtos l 2 2)))<br/> (setq len_data (subst new_hc old_hc len_data))<br/> (entmod len_data)<br/> ) <br/></p> 谢了下来学习学习
页:
[1]