关于一个点的问题
我想循环插入一个块,当n=5时,插入点为(0,0,0) 当n=6时,插入点为(1000,0,0)当n=7时。插入点为(2000,0,0),以此类推,请教各位大神如何实现??????????? (defun c:tt ()(setq int (Uint t "" "数值" int)
pt(if (>= n 5)
(list (* (- n 5) 1000) 0)
)
)
(if pt
(command "insert" "aaa" pt 1 1 0);aaa为图块名称
)
(princ)
) xyp1964 发表于 2018-1-5 20:34
unit 是什么 我并没有这个函数啊 unit 是个自定义函数
论坛内引用甚多 n是什么?块的个数吗?
页:
[1]