![]() |
[求助]关于offset
[求助]关于offset
www.dimcax.com [求助]关于offsetlisp中用offset时,(command "offset" "15" (entlast) p0 "")这样为什么不可以,offset中(entlast)无效,该怎么写呢? d 你需要判断(entlast)得到的对象类型是否可以offset d 详细点说明一下可以吗?或者说一下怎么改才可以。麻烦caoyin d (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 "") ) d 哦,明白了,非常谢谢caoyin d 不好意思,还是不行啊!问题是出在command中, 是不是offset后还要输入一个什么参数啊?麻烦caoyin再看一下吧。 |
所有的时间均为北京时间。 现在的时间是 08:58 PM. |