只需一步,快速开始
使用道具 举报
(defun c:dim () (setvar "cmdecho" 0) (command "dimaligned" ) (setq pt1 ( getpoint "\n输入标注基点1 : " ))(COMMAND pt1) (setq pt2 ( getpoint "\n输入标注基点2 : " ))(COMMAND pt2) (setq pt0 ( getpoint "\n\n尺寸线位置2 : " ))(COMMAND pt0) (while (setq pt3 (getpoint "\n输入连续标注的下一点 : ")) (setq pt3 (inters pt1 pt2 pt3 (polar pt3 (+ (angle pt1 pt2) (/ pi 2.0)) 1.0) nil)) (command "dimaligned" pt2 pt3 pt0 ) (setq pt2 pt3 ) ))
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 ) ©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途
GMT+8, 2024-11-17 17:38 , Processed in 0.176983 second(s), 25 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.