Andyhon 发表于 2012-4-16 17:25:42

<R>

阵列长方形/阵列圆

~希望 发表于 2012-4-16 17:39:25

我要的效果是把长方形以另外一个中心点做旋转复制的环形阵列

Andyhon 发表于 2012-4-16 17:54:44

怕又是意会岔线去了,请上图吧

~希望 发表于 2012-4-16 19:01:42

要的是外边的长方形以中间十字线为中心,旋转阵列,阵列数量参数为(n)

Andyhon 发表于 2012-4-16 19:20:19

以中间十字线为中心 pt'(0 0) 测试
Command: (command "_.array" (entlast) "" "p" '(0 0) 6 360.0 "Y")
_.array
Select objects:   1 found

Select objects: Enter the type of array <R>: p
Specify center point of array or :
Enter the number of items in the array: 6 Specify the angle to fill (+=ccw,
-=cw) <360>: 360.0000000000000
Rotate arrayed objects? <Y>: Y
Command: nil

~希望 发表于 2012-4-16 20:09:08

是否可以说的明白点,因为我是才学LISP,谢谢楼上的大侠了

~希望 发表于 2012-4-16 20:15:06

好了,谢谢,谢谢,太谢谢了,我先出去一下,回来再写上怎么弄的,谢谢,

xyp1964 发表于 2012-4-16 21:03:11

本帖最后由 xyp1964 于 2012-4-16 21:03 编辑

(command "_.array" (ssget) "" "p" (getpoint"\n基点: ") 6 360 "y")

~希望 发表于 2012-4-16 21:34:18

谢谢各位啦,问题已经解决了,最后一个参数是"Y",就可以实现自动确认,但是不知道为什么下午的时候我测试了好多次都不行,晚上回到家在自己的电脑上就没问题了,完整的参数行是:
(command "_.array" (entlast) "" "p" zx n 360.0 "Y")   ;;(p是环形阵列,zx是我设置的中心点,N是数量)
谢谢各位大侠,辛苦了
页: 1 [2]
查看完整版本: 求助一个阵列参数