只需一步,快速开始
使用道具 举报
(if (and (setq a (entlast)) (wcmatch (cdr (assoc 0 (entget a))) "LINE,*POLYLINE,SPLINE,ARC,CIRCLE,RAY,XLINE,ELLIPSE" ) (setq p0 (getpoint "\n拾取点: ")) ) (command "offset" "15" a p0 ""))
不好意思,还是不行啊!问题是出在command中,
是不是offset后还要输入一个什么参数啊?麻烦caoyin再看一下吧。
(command "offset" 20 (list (entlast) pt1) pt2 "")
;pt1为entlast上的一点,pt2指出偏移方向
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 ) ©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途
GMT+8, 2025-7-30 05:37 , Processed in 0.184380 second(s), 25 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.